(#1415) - Jshint bin/ and tests/, add trailing whitespace to linter

Linting bin/

Updated jshintrc to mocha style tests

First hinting pass of tests. like s/if(/if (/

Ran fixmyjs through the tests

More test linting

Removed perf.attachments.js. It wasn't being run anyway

Update some test assertions so they pass

Respond with null results on changes error.

Now that the test assertions are a bit more strict it failed when the
http adapter responded with null while the local adapter responded with
undefined.

Added trailing to .jshintrc

Added jshint option 'notypeof'

We had this issue before in the tests where we checked against `typeof x
== undefined` (that is not a string). So it seems like a good one to
have.

Removed deprecated jshint option 'white'

Revert "Added jshint option 'notypeof'"

This reverts commit a6e1b8339df8ff8e3009c95880c9c79b5a23c06c.

Added unused: vars jshint option

Linting away unused variables

Readded white option
(#1411) - remove link to nonexistant blog
(#1393) - Errors in browser tests
(#1393) - Follow up to fix lint error
(#1406) - Return helpful constructor error msg
(#1422) - Fix syntax error in tests
(#1419) - Update mapreduce to 0.6.2
(#1349) - Cleanup and increase timeout for #1175 test
(#1434) - Remove documentation for non existent uuids API
(#1433) - Fix link to CouchDB view documentation
(#1430) - Remove incorrect assumption in cancel sync test
(#1428) - Fix possible race in basics test
(#1439) - Dont assume an order of revisions from open_rev
(#1425) - test-browser runs single configurable browser instance, travis reports errors
(#1437) - Poll for selenium status being ready
(#1446) - (doc) add visualizeRevTree to external tools
(#1438) - Migrate basics tests to chai and fix setup / teardown
(#1461) - Disable test due to large amount of intermittents
(#1453) - allow custom xhr libs
(#1449) - move uuid files into folders (backwards compatibly) also smooth out creation process to make it async and adds db.destroy