Replaced grunt-mocha-hack with grunt-mocha-spawn
Got mocha-as-promised working on linux!

Had to write a crazy function to find the loaded instance of mocha.
Could consider forking mocha-as-promised and using this technique
to locate mocha. Probably worthy of a pull request.
Fix windows compatibility issue.

Windows paths use backslashes, so just verify that the id ends with
mocha.js.
Integrated with fork of mocha-as-promised with improved technique for finding the running mocha instance
More stringent checking for mocha.
Revert "Replaced grunt-mocha-hack with grunt-mocha-spawn"

This reverts commit 413cdea36ab6bb0255c607a9ea5fbb72a8316a6c.
Refactored api tests to mocha-as-promised style
Fix assert
Resolved merge conflict