Adds id and versionOf attributes; Create an new HTTP API for looking up specs with a URL

These changes are bundled together as the `id` and `versionOf` attributes are necessary for the reverse lookup feature.

Would like to get a couple of eyes on this @darobin, @marcoscaceres, etc.