[copyright] Updated to 2013
[codestyle] Fixed codestyle
[tests] Updated the tests to chai + latest mocha