POST multiple statements

Addresses issue #10 (multiple statement POST)

Fixes validator issues where max does not exist but raw does.

Better checking of mimeTypes for document APIs