Fix public upload

cleanup the upload process
One test was not run, add public side testing
Misc

Bad error handling & content negociation faillure
built
Travis test fix

The public folder html view require a CozyInstance to exists
Code style fixes
Merge pull request #173 from aenario/master

Fix public upload