Small improvements to the error pages & the logging infrastructure.

- use Variant instead of Version for images as it better reflects the meaning of this attribute
- removed all MiniProfiler references
- write log to Trace even during development
- small improvements to the error pages
- instruct the search engines not to index the error pages
- new helper to get the absolute url of a preview
- bugfix: initialize the correct environment inside Visual Studio