Remove references to links when deleteing a link or node.

	This will make the "links" command not show deleted links
Merge pull request #1 from jhall11/cli_add_del

Remove references to links when deleting a link or node.