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

Also clean up the preview function a bunch