Fix blob type checking in object-codec

In object-codec's encodeBlob method, fix the error message for when an
invalid body is sent. It was something cryptic about missing methods; now
it is the expected "Invalid body for blob".
Merge pull request #95 from bryanburgers/issue/encode-blob-error-message

Fix blob type checking in object-codec