Add edit posts form
Add basic permission to check the post's owner.
Only allow changing certain fields of posts
Fix jshint error