Implement createSecret() properly

Had to switch from Intern to Mocha. Mocha is much simpler because it doesn't shove AMD in our faces. This is for Node.js and I can't be bothered figuring out how to put AMD and CommonJS together right now.