Fix some errors
Implement jQuery file upload on posts

Fixes #41