Use Mocha Nyan reporter

fixes #2
Code formatting
Use fakeServer instead of fakeXMLHttpRequest