Added try/except clause for pubsub v1 import/setup.
Merge pull request #241 from drusk/pubsub_compat

Closes #30.