restored mocha ( qunit doesn't offer good support for server-side )

also improved bootstrap process for crossplatform