TravisCI: Created a template nmml for NMETest class.
TravisCI: refactoring
TravisCI: JS test also output result to a div.
Merge branch 'travis'