Make putDocument sync and handle the put result right away
add size limit per enrollment
add test to cover "Failure case: exceed size limit per enrollment"
update test of size limit per enrollment to boundary test
Merge pull request #2425 from TEAMMATES/Issue2424

Student not appearing in search results #2424