make it possible to handle errors
adjust comments on error messages to standard godoc style
Merge pull request #80 from jezell/oid-parse-protection

make it possible to handle errors