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.