Fix Bug 870482: Add live snippet preview to the admin interface.

@alexgibson Frontend r?

@glogiotatidis Backend r?