A teenage motorist whose car rolled back after hitting a kerb in Cookstown and collided with a police vehicle, has lost his licence two years.