Check that CreateOffer fails with no m-lines to offer.

Finds #233
CreateOffer fails if there were no m-lines to add.

Fixes #233.
Merge pull request #234 from docfaraday/fix_mochi_throwInCallbacks

Fix mochi throw in callbacks