updated grunt and karma to run on travis using phantomJS, and chrome locally