added waitConnected attribute to mininet class

fixes #80 
fixes #165 
why not just call it `waitConnected`?