Update README.md

Updated README with instructions for Mongo.
Add travis support fix some small coding standards issues.
Refactored copy paste code to appease travis.
Fixed coder warning.
Merge pull request #1 from nigelgbanks/7.x-travis-support

Add travis support fix some small coding standards issues.
Added missing elements, updated variable names
fixed merge conflicts
merged conflicts
added js wrapper