Flask support for json and unknown content type posted data.

This should include the data payload when json is posted or other unknown content type data.
Also relevant to #41.

Please review. Thanks.