** Removed scripts.js from layout.jade
** Added files.js into files.jade 
** Added a bit better error checking into api calls
** Changed create file syntax to work with changes in server side
(https://github.com/foyt/coops-server-node/commit/74e181e032bec2a028e7451ccbfac2f5275113df)
** Added support for defining contentType and content when creating
files