Add iD.Context

This is a facade interface that ties together a bunch of
different internal objects and will make it easier to write
tests for behaviors, modes, and operations.
Hoist functions up a scope
iD.Context -> iD

All the UI setup code moved to iD.ui.
Merge controller into iD
Arrange
Pass around context rather than map
Use iD.version
Fix Google Analytics include
Fallback for browsers that do not support localStorage. Fixes #591
Remove double dispatch
Fix localStorage number of args in oauth
Merge branch 'master' of github.com:systemed/iD
Fix dev/live toggle
Update to pre-release 3.0.5 d3
Merge branch 'master' of github.com:systemed/iD
Unused vars
Shift-selection
Support deleting relations
Delete multiple
Update logic for multi-select