Fix getByType posts method
Fix backend editor being passed array instead of one post
Add posts.get method that other methods call and pass MongoDB query to
Improve naming of photo and video metadata and add to view