added karma >0.10 config file, ref http://www.robertkehoe.com/2013/08/fixing-error-config-config-file-must-export-a-function/