use enums for constants in fileuploader

use tabs in default formatter (according to https://owncloud.org/contribute/)

Now, this diff is great  :'(
That's why I suggested to use a default formatter which everyone has to use.

I really just replaced the constants by enums. No double upload check this time. And obviously also replaced spaces with tabs. It is ok?