adds jp2 size validation.
implements un-tested api-post.
Merge pull request #65 from birkin/master

implements un-tested api-post.