Add support for firefox web apps

Tested on ZTE Open (FFOS 1.o) and on Ubuntu (Firefox 27).

When opening in the browser the Script returns false, once I install it as an App and open it it reports true.