V1.1

* Using rails-render_hooks
* Refactorig by using before_render
* Enable preview by selected format