Install CouchDB Erlang stuff to top-level lib/

Change-Id: I1f57c5966f44fcc728d5ced4b19c836c5ce0d39c