Removed "items" layer from Metadata

There is no "items" laye in metadata. This was
a bug in the ServiceRegistry API.
Add shell script for testing API using curl
RevisionNote is mandatory when creating connection
Various fixes for structure and naming of JSON
Add Content-Type header

Without it the API will fail with a cryptic "type" is
mandatory message.
Add info on how to install on acc and prod.