Make port configuration generic.

Renamed plugin_{min,max}_port as {min,max}_port and now using
PACKER_{MIN,MAX}_PORT environement variables to find a port to bind. Got
rid of mutuable globals portRange{Min,Max}. Also refactored plugin.go to
use rpc.NetListener.