Form_Field_Upload fixes

1) I guess init() method should always be defined first in class source code.
2) simplify A<B?A:B with min(A,B)