fixed netParse bug that caused mininet crash when no ip prefix was specified

assumes prefix is 24 if none is specified.
Also allows you to input different values into --ipBase without crash, i.e. --ipBase=10, --ipBase=10/16, --ipBase=192.168/16

fixes #236 
fixes #272