nodes API updates allowing nodes self-registration

The nodes creation takes the system_uuid instead of the system id to
make the things on the node side easier. Also the capability is possible to specify
in the initial call.

Also `/nodes/by_uuid/:uuid` was added for the node to be able to find out about
it's status.

The authentication allows the systems to perform this basic operation for them
with consumer certificate.