Add check if on cloudant.
Add support for being on cloudant, where there is 
no event source changes feed.
Small error fix.