Migrate HTTP server to httpcomponents

The built-in JDK http server does not handle keepalive very well, and
uses a rather opaque model that makes it difficult for us to fine-grain
HTTP behavior, which may be needed during subsequent modifications.
HttpServer: Call bail in finally block

This avoids connections hanging
Depend on only a single JSON library

I'm using GSON here since most of the code already uses it.
Removed unsued maven files
Allow base64 to accept byte[] as input
Add Couchbase Views

This draws upon some work of Sergey Avseyev (who provided the initial
view implementation) and Brett Lawson (who provided the core of the
bundled javascript implementation).

This utilizes a mostly-in-javascript implementation of indexing and
returning documents per the view interface.

It adds a hard dependency on the Rhino Javascript engine (skipping
entirely over any ScriptEngine implementation built in to JDKs, as they
are stripped down and unreliable for our purpose).
Update .idea files
Allow to load docs from command line
Update mock version to 1.0.0