RecognitionContext.getEvents now fails nicely

getEvents would assume success after timeout expired and attempt to
construct a phrase object regardless of the success. It now returns an
empty phrase object instead.
Added operator bool method to ResPhrase to check for validity of phrase,
as well as move functionality.