Fixed a bug

- There was a bug on the StreamListener class that prevented to
recognize that a snapshot was needed when the a connection to the
streaming server was established
Minor fix for the previous commit
Improvement: State will be deleted if any exception occurred
Merge pull request #10 from sportingsolutions/integration

Integration