fixed test added angular mocks
tested new backend
Added config options + fixed isolated scope issues on directives.
Merge remote-tracking branch 'origin/master'