Rethink how node registration works.

Previously using the API meant that when chef rebuilt the node config on the
jenkins server, it wiped out the slave config. This changes things so we use
the same pattern as with configs and credentials to generate the config. This
will require changes in the ci cookbook.

Ping @mahmoudimus @mjallday @bninja @remear