Add adapter version and metadata endpoint.

This adds an endpoint for metadata. I'll require @cakkineni to set the `ADAPTER_VERSION` environment variable in the setup script.