Add firefoxOs suport for xhr

Add a function to detect if is FirefoxOS system, then if it´s true it add the attribute mozSystem: true that is needed for firefox os apps to work.