Properly ignore uploads.
Move JS back to inline for now.
Mime type detection on upload and download.
Merge branch 'master' of https://github.com/christophemarois/asocial