Bug 1007570 - Improve fstab type heuristic detection r=gsvelto

The Flame seems to rely on a recovery fstab that follows the Linux file
format but is named like an Android recovery file format fstab. This
makes out previous heuristic failing to correctly extracts the
partitions. Hence, we switch to something a bit more robust there:
 - probe the fstab file for any line that contains '/system' and that
   starts with '/dev'
 - if we find any such line, then it means this fstab file follows linux
   file format, and we extract the partition from the first member of
   the file
 - if we don't findany, it means we have an fstab file that follows
   Android file format, and we extract the partition from the third
   member of the file
Merge pull request #164 from lissyx/bug1007570

Bug 1007570 - Improve fstab type heuristic detection r=gsvelto
Bug 1008094 - Call FOTA production with device and gonk checking r=gsvelto
Merge pull request #165 from lissyx/bug1008094

Bug 1008094 - Call FOTA production with device and gonk checking r=gsvelto
Merge branch 'master' of git://github.com/mozilla-b2g/gonk-misc