Changed karma config to match directory setting in .bowerrc
Added support for autoTrackVirtualPages when using ui-router

https://github.com/angular-ui/ui-router does not emit the event
$routeChangeSuccess but the event $stateChangeSuccess.

When using ui-router you will probably want to use
$analyticsProvider.firstPageview(false);. Otherwise you will track the
first page view twice.