[READY] Views refactor

![footy](https://cloud.githubusercontent.com/assets/527874/3472455/f423b218-02cb-11e4-824b-688fe66259af.gif)

This PR focuses on refactoring the base logic out so we case have a base for HTML and JSON templates that uses composition to inherit class and instance level methods for both bases.