lppublish: migrate bundles from legacy format
internal/v4: implement archive PUT
lppublish: add comment
lppublish: rename ArchivePostResponse to ArchiveUploadResponse
Merge pull request #121 from rogpeppe/054-migrate-bundles

lppublish: migrate bundles from legacy format

It doesn't provide the bundle's charms for the migration process yet,
as we need charm archive PUT for the charm revisions to work
correctly with respect to the charm URLs mentioned in the bundles.

Manually verified that at least some bundles get correctly imported.
internal/v4: add comment describing PUT endpoint
Merge pull request #122 from rogpeppe/055-archive-PUT

internal/v4: implement archive PUT

This will allow the ingester to match the uploaded charm URLs to the original
launchpad (and therefore legacy charm store) revisions.
implement PutDocument for updateEntity
Merge pull request #120 from jrwren/es-document-with-charm-ids

implement PutDocument for updateEntity

The card says "extend ES package with a updateEntity for doc update functionality (not just adding new doc) " PUT does both add and update.

GetDocument comes along for the ride so that we can have proper tests.
remove logger use outside of test

fixes the build
Merge pull request #123 from jrwren/v4

remove logger use outside of test

fixes the build
update dependencies for new charm package version
Merge pull request #125 from rogpeppe/057-update-deps

update dependencies for new charm package version

This makes many more existing bundles import correctly.
lppublish: publish charms first
remove unnecessary debugging messages
Merge pull request #126 from rogpeppe/056-charms-first

lppublish: publish charms first

Previously some charms could be uploaded after some bundles
because the upload process happens concurrently.
Add support for exporting mongoDB contents into elasticsearch

Added essync tool to manually export data from mongoDB into
elasticsearch. This work was done with jrwren.
Updated with review comments
Merge pull request #124 from mhilton/exportv4-cs-mongodb-into-es

Exportv4 cs mongodb into es

Added support for uploading mongodoc.Entity objects into elasticsearch and provide a tool to migrate them from an existing mongoDB database.
Added elasticsearch configuration to charmstore.

The config.yaml file can now contain an optional
elasticsearch-addr parameter specifying an
elasticsearch endpoint to connect to for searching.