Change Karma basePath

This is to be able to use Karma's html2js preprocessor.
Use Karma html2js preprocessor
Tests for context menu directive