Sets up the environment for a client-side application.
- Remove jQuery as a global
- Change Underscore template parsers to not use ERB-style tags
- Setting a reasonable timeout for AJAX requests
- Define a AJAX queue manager for Backbone, inspired by @maccman's Spine implementation (Backbone as of 87c9b17a required)
- GET requests are executed outside of the queue
onbeforeunload
handler defined for prevent navigation when there are pending requests