Add array representation for all Direction types.

Refactor to_command to format to_a into SVG path command.
Merge pull request #7 from bdon/master

Directions have abstract array representation