Fix animal register.

This CLI function didn't get the memo about the new run-command API and
the *log-stream* output.
Handle server (or http) errors when uploading archives.

HTTP error 500 messages were given to the JSON parser directly and the
result wasn't helping anyone, fix that.
Add more PL/pgSQL API into pginstall setup.