Make various changes to API adapter.

- getApiUrl() should return absolute URLs.
- Add helper method to get API adapters from within an adapter.
- Begin conversion to JSON-LD starting with RDF model.