encode data passed into parse()

This is the alternative to https://github.com/kasei/perlrdf/pull/81 that assumes parse_from_model() and parse() are intended to accept characters.

Whichever you choose you may also want to document which of characters or encoded bytes $data is meant to contain.