bug 983573 - [Gaia] Refactoring webapp-manifest.js

https://bugzilla.mozilla.org/show_bug.cgi?id=983573