Added new action: editPost

This continues work on #7, still need to add editing of all the other
actions (profile posts, etc).