Modifications in order to have karma with phantomjs running
Added travis ci config