Dialog: Fix off() -> unbind() for jQuery 1.6 compat

Follows-up c9815f13b487d027ef9b.

Fixes #10072
Closes gh-1256
travis: Remove node 0.8, add node 0.10

Travis is failing on two accounts:

* "Error: No compatible version found: minimatch@'^0.3.0'"
  (because the version of npm that shipped with 0.8 doesn't
  support ^

* npm WARN engine stringify-object@0.1.8: wanted: {"node":">=0.10.0"}
  (current: {"node":"v0.8.26","npm":"1.2.30"})
  npm WARN engine has-color@0.1.7: wanted: {"node":">=0.10.0"}
  (current: {"node":"v0.8.26","npm":"1.2.30"})
  npm WARN engine configstore@0.2.3: wanted: {"node":">=0.10.0"}
  (current: {"node":"v0.8.26","npm":"1.2.30"})
  npm WARN engine object-assign@0.1.2: wanted: {"node":">=0.10.0"}
  (current: {"node":"v0.8.26","npm":"1.2.30"})

Closes gh-1258
Dialog: Fix shift-tab handling, focus the correct element

Copy-paste error introduced in df6110c0d424ff3306fdd5576011f2dcf4d242d0

Updates the tabbing test to be more specific about which element should
have focus, instead of only checking if focus is within the dialog.

Ref #9646
Ref #10103
Closes gh-1264
Dialog: Honor preventDefault when managing focus

If event.isDefaultPrevented() is true, the focus management is
completely skipped, assuming the user manages focus manually.

Fixes #10103
Closes gh-1265
Datepicker: Define en and en-US locales based on defaults

Fixes #6682
Closes gh-1269
Build: Reorganize external directory

Put each external library into its own directory.
Move jquery.js to external.

Ref gh-1266
Test: Get all jQuery versions from Bower

Ref gh-1266
Build: Upgrade to grunt-bowercopy 1.1.0

Ref gh-1266
Bower: Change jquery dependency to >=1.6 (don't limit max version)

Fixes #10110
Closes gh-1266
Tests: Use closeEnough() to account for rounding differences

Selectmenu's test suite broke with b0e8380, which changed the padding
used by the menu widget. Selectmenu conditionally adds pixels to the
menu's width, and using closeEnough() accounts for that and the
rounding differences across browsers.

Closes gh-1275
Build: Update DB version for releases
Build: Updating the master version to 1.11.1-pre.
Build: Update license

Closes gh-1257