Changed karma.conf.js to export its config

The old configuration file was not working with latest Karma version [0.10.2]