updated karma config, update CreateCtrl tests, added Features directive tests

set karma to compile html templates,
removed feature tests from and added browser tests for CreateCtrl,
replace window object with $window service,
added UI state-change tests for Feature directive
Note: unable to test methods defined in directive
added tests for facets and editable directives, refactored features directive
refactored tests (and test-related changes) to conform to jshint standards
Merge pull request #19 from joemfb/fix-unit-tests

fixes broken controller tests, adds directive tests