refactor preview function to clean things up
add current site to flask 'g' global context
Merge pull request #222 from eads/0.9-beta7

Add current site to flask 'g' global context, tarbell default context