Issue #35 - add basic auth support

https://github.com/couchbase/couchbase-lite-java-listener/issues/35
Merge pull request #47 from couchbase/feature/issue_35_phonegap_sec_squashed

Issue #35 - add basic auth support