moved export code from shell to cypher

added test
added means of exporting labels
added means of exporting index definitions
initial documentation console create scripts now use cypher
fixed some export issues