Updated WriteTutorials howto, Indices and IndicesIterators tutorials

Fixed #508 and #678.