Add test for part upload with no upload id.
Move upload lookup to DAO

    Using criteria in the util makes it far more complicated to test
    with no benefit.
rhbz998294 Avoid storing last upload part in database.

    This fixes an issue where the last part was not returning any
    bytes, and reduces unnecessary database activity.
rhbz998294 make upload chunk count calculation more explicit
Merge pull request #133 from zanata/tests/document-upload

Fix multiple chunk document upload