Made NodeId::save throw if the NodeId is invalid and updated test.
Merge pull request #84 from Fraser999/MAID-561

Made NodeId::save throw if the NodeId is invalid and updated test.
Merge remote-tracking branch 'upstream/next' into next