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
Merge remote-tracking branch 'upstream/v4' into exportv4-cs-mongodb-into-es

Conflicts:
	internal/elasticsearch/elasticsearch.go
	internal/elasticsearch/elasticsearch_test.go