Bound "togglePreview" method for export.

I needed to customize the editor's toolbar for a project, and encountered an issue where I couldn't make the preview button work, because Editor.togglePreview didn't exist.
Merge pull request #55 from mortie/patch-1

Bound "togglePreview" method for export.