fix jshint warnings
turn off capitalisation warnings

so that jshint doesn't issue a warning when
React.renderComponentToString() is invoked
jslint the tests too
use browser option instead of defining globals

this makes tests/browser.js pass which also uses globals like `history`
that weren't listed here before
"use strict" and define mocha's globals
better support for nested contextual routers
Merge branch 'nested-contexts'