Move all data structures to vectors.

Corresponding hash holds keys as vectors now.  Dvorak mode substitute
works with both string and vector sequence type in general way.  This
function produce vector as result for any input.  Special symbols as
<return> or <end> are untouched in substitution process.
Fix ert tests for work with new data structures.
Add documentation.