Added Template Editor, Fixed Up Some UX Issues

* added ace for template editor

* added page_template field to database, populate template with its content

* save page template

* correctly save page template field to db

* uses Ace locally
* kss uses template from db

* ux fixes