Add preview mode features to front end.

Add ability to view "preview" links in front end.

+ Shows warning when in preview mode
+ has custom urls.

Part of: https://github.com/unikent/of-course/issues/11