Imported gallery.tmpl and listing.tmpl from bootstrap3-jinja (commit 6c39636)
Moved out gallery.tmpl content block to gallery.partial
importing some CJS modules using npm

├─┬ url@0.10.1
│ └── punycode@1.2.4
└─┬ urljoin@0.1.2
  └── extend@1.3.0
Adding CJS path.js version 0.4.9
Make them AMD
Importing CJS package querystring version 0.2.0
Convert querystring module to AMD
Fix package locations
Convert simple globals object to a Backbone model and add some of server's context functions