Begin migration to RequireJS

There are issues with how the libraries in lib/js are loaded. This needs
to be fixed.
Merge branch 'master' into features/requirejs
Merge branch 'master' into features/requirejs

Conflicts:
	src/js/debug.js
Include Leaflet things locally (don't use the CDN)

We like to bundle things locally so that we might get better integration
with requirejs and better support for PhoneGap in the future.
Fix requirejs: it now works perfectly!

The build process now takes all libraries, shims them, and compiles them
into one massive javascript file. The result works as expected.
Cleanup results of requirejs work

- Fix leaflet marker image
- Get rid of require.js in lib (we're using almond.js client-side)
- Rename debug.js to main.js and restructure the code for the DOM ready
  state
Split `main` module up into `gps` and `map`

This should give a good example of how one can use RequireJS, and helps
improve code readability by grouping related parts together better.
Merge pull request #30 from routemaster/features/requirejs

Migrate Javascript over to RequireJS Modules