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
4. Removed test/lib and use cordova-blackberry/blackberry10/framework/lib instead