Change VM ID's from arbitrary strings to NodeIDs.

* Resolves #412
Added VM register and unregister core functions.