tests: detect base path to enable running tests from within test directory.

cmd: npm test ..
tests: add jslint options and semicolons
Tests for indented comments, and templating for omission tests