octal: make more idiomatic

* extend the test file to require error cases.
* improve on the example solution
* change the name from ToDecimal to ParseOctal as it's more accurate
Merge pull request #30 from JohnGB/improve-octal

octal: make more idiomatic