internal/router: return 404 on meta/any with no includes; fix bulk id handler
Merge pull request #227 from rogpeppe/096-fix-meta-any-no-includes

internal/router: return 404 on meta/any with no includes

When we requested metadata on a fully qualified id using meta/any
with no includes, it would succeed unconditionally.

A better fix would be to make meta/any with no includes return an
error, but we can't do that without compromising the existing GUI client.

As drive-by fixes, we make the bulk id handler work correctly when
there are some ids are not found, and the error message from
the any handler return the full name of the meta endpoint requested.
Automatically initialise elasticsearch.

Charmstore will now automatically initialise elasticsearch when starting up.
This ensures that elasticsearch will always have the index and mapping
configuration required for correct operation.
Merge pull request #231 from mhilton/automatic-elasticsearch-sync

Automatically initialise elasticsearch.

Charmstore will now automatically initialise elasticsearch when starting up.
This ensures that elasticsearch will always have the correct index and mapping
configuration required for correct operation.
internal/v4: add meta/id endpoint
Merge pull request #234 from rogpeppe/097-meta-id

internal/v4: add meta/id endpoint

As discussed. The specification has been updated appropriately.