octal: Adopt functional style

As discussed in #79.

The original Octal.to_decimal method is replaced by the parse_octal
function which seems more aptly named.
Merge pull request #91 from sjakobi/functional-octal

octal: Adopt functional style