add more tests for util
change setConsole to private
fixed client-side unit tests
Merge pull request #903 from drewfish/unit-client

fixed client-side unit tests
Merge pull request #902 from lzhan/addunittest

Add more unit tests for util.
tweak .travis.yml 

- show selenium stderr
- no sleep (jslint and unit tests run first)
- use default `npm test`
echo script commands
put sleep back for debugging log msgs
update selenium