Move Karma configuration into `tasks` folder

For better separation of concirns this commit moves the karma.config.js file into the tasks folder.