fixes broken controller tests, adds directive tests

configured karma to compile html templates.
updated CreateCtrl tests, and added tests for features, facets, and editable directives.