Bug 874405 - [email/IMAP] snippet/partial body fetch breaks on zero-length bodies.

This is to land https://github.com/mozilla-b2g/gaia-email-libs-and-more/pull/206 once it's reviewed.  For now this is to allow testing.