Added opensearch plugin and autodiscovery

Fixes #48