(#1364) - JSHint bin/ and tests/

I found this little convenient script `fixmyjs` which did a lot of the fixes for me so I went ahead an added tests/ to jshint as well.

I changed .jshintrc to use mocha bdd style predefs only now so any old style tests should fail early.

It passes the tests for me locally. I only had to do one minor change (see a46a82ba429cd5610d9f54e2b26e417837ac237b).