Add categories to edit method and view

* Define categories in post edit method
* Pass in categories in post edit view