Remove debug statements.
Simplified port range overlap checking.
Implemented port collapsing function.
Use CollapsePorts in joyent provider.
Separate state port range definition.