add timeout parameter to expect()
Merge pull request #5 from fruch/master

Add timeout parameter to expect function