sync with upstream ng-couch

rename the module to gdamjan.CouchDB
fixes for when the changes promise is rejected when using EventSource
and some other promise polish