Raise appropriate APIError on schema validation in from_json.

Includes tests for all implemented objects.
Shift session creation into the api call.

uuid_object_create was already doing this, but other API calls were not.
The test suite had been passing because the fixture did this, but
nothing does that automatically when running the server, so it's been
removed from the fixture.
Update project_connect_node