Added TROUBLESHOOTING file
Integrated karma JS testing and npm dependencies
Adjusted Travis settings for local npm installation