Fixed unit test error in nodejs 0.10+
1. Fixed errors unit test
2. updated jasmine-node to 1.7.1
3. Fixed lint error