Add the max part number limitation.

This add the limitation on max part number on Part Upload.

see: #945
I prefer `has_valid_partnumber/1` returning true if valid, and false if invalid. This might be more straightforward.