added coffeescript support, rewritten app/ and test/ to coffee