[OE-3955] Added base JS unit tests
[OE-3955] Moved JS test files into tests dir; added connect grunt task for displaying the test runners (to allow for network operations in the tests)