MAGN-1429 : Need snapping in inputs

This is the fix for port snapping issue. 

Today, the connector is not snapped to the ports automatically. Every time the user has to drag the connector on to the port and click the port to get an active connection.

After this Fix, When the connector is dragged near the port, it will get snapped to the port immediately. The connection will be showed as dotted lines, indicating the possible path to the port. When the port is clicked, the connection will be made active. 

http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-1429

- [ ] @pboyer 
- [ ] @Steell 
- [ ] @Benglin 
- [ ] @ikeough 
```Rectangle``` seems a little off as a name, is there a reason we don't use ```Port```? Also, please help to remove those underscore before class data member names (that's a naming convention more widely used for Dynamo).