Added timeout functionality.
Added timeout functionality.

The listener now has a timeout (default 10 seconds) and should throw an
error if no data is recieved by the MockListener in that time. This will
avoid any kind of awkward spin forever loops that were occuring.

gtagency/buzzmobile,jgkamat/buzzmobile,gtagency/buzzmobile,jgkamat/buzzmobile,jgkamat/buzzmobile,gtagency/buzzmobile