Added REST routes for posts, and markdown editor. Some fixes to strong parameters and views.