Fix schema problems and add gems for debugging
Add image uploading to posts