Use UA string sniffing for isFirefox ; check for "Mobile" to include FirefoxOS among Mobile platforms.
Merge remote-tracking branch 'fred/sniffing' into develop

Resolves issue #377.