Custom CSS + template vraibles in template preview

In the previous version template preview reflected 'content_css' and 'template_replace_values' setting. This revision would make it possible too with introducing two new  boolean template related flags(options):
- template_preview_apply_css
- template_preview_replace_values

It doesn't work with snippets.