code style. better regex-escape regex. jsdoc updates.
host should include protocol. show in tests, jsdoc, and sample
add code style config files for jshint and jscs