Raise Msf::OptionValidateError when the PORTS option is invalid

Instead of print_error for invalid ports, modules should be raising
Msf::OptionValidateError to warn the user about the invalid input.
Land #2779, @wchen-r7's mod to raise Msf::OptionValidateError when PORTS is invalid