Rewrote ledger-split-commodity-string

As discussed in the bug [922](http://bugs.ledger-cli.org/show_bug.cgi?id=922) ledger-split-commodity-string is maybe too complicated, so this version is simpler, using string-match to match regexp on the argument.