Refactor to allow running outside of Android.
Merge branch 'refs/heads/portable_java'
Remove is.available() per issue #14

https://github.com/couchbase/couchbase-lite-android-listener/issues/14
Merge remote-tracking branch 'upstream/master'

Conflicts:
	src/main/java/com/couchbase/cblite/listener/CBLHTTPServlet.java
	src/main/java/com/couchbase/cblite/listener/CBLListener.java

All import statement conflicts, nothing interesting.