IndexCommand now accepts NeoCommandVisitor

IndexCommands are now written and read with NeoCommandVisitors
 as all other NeoCommands are.
Slight refactorings all around