Bug 987487 - [Gaia] [Build] Refactoring webapp-optimize.js and unit tests
update travis config for marionette