Add rm command to GroovyConsole

Adding rm command to GroovyConsole to allow deleting nodes.