Check volume size for file upload phase 1
First version of volume size enforcement (db update on file flush)
Use log files to track volume size changes
Fix volume size checking
Add test for volume size enforcement.
Lock tempfiles
REVERT ME: Temporarily report current volume usage instead of its size for volume listing
Cosmetics