Fix min/max port option bug

The entire options object is being passed into portScanner.getPortRange
which fails all the checks and always returns 3000/4000. This
effectively ignores any custom port range options being sent in.

This fix simply extracts min and max port values from the options object
(if provided) and passes them in correctly as two separate arguments to
portScanner.getPortRange.