Only index latest charm version.

Use elasticsearch versioning to make sure that only
the latest version of the charm or bundle is indexed.
Therefore only returning the latest version in search
results.
A thought: should we always put documents with Index only, and not Database? Then we are sure, that index exists (and thus not exposing (db *Database) putDocumentVersion)?