Fix setting the max-upload-size for really large values.

php can only parse filesize units up to gigabytes, not terabytes or petabytes.
Add unit tests for OC_Helper::phpFileSize function