A few additions and changes to subscription

Hi there -- I added in auth-failed callback, changed subscription notifications to be prefixed by [collection name]_ (like items_added, items_changed, etc.)  I also added subscription parameters. 

I think auth-failed callback can use some improvement, as it relies on string value...  would it be safe to base it on code, or is this code used elsewhere?  Thanks!