updating js libraries to latest stables and getting them for a cdn

removed the files that are not needed anymore

added in redbean php files, fixed it so that REST and json rpc stuff works with backbone

added in .htaccess files to control requests