Port adding fix

Fixed issues with adding ports that have a space, thus adding a blank
port
Fixed error with adding port validation

Issues with using validation when adding node. So, I took out the check.
Will need to add this in some how at a later date.
Merge pull request #292 from koo04/master

Prevents the use of a space when adding ports. Fixes bug #288