add some tests about content encoding when writing, reading and querying
Merge pull request #119 from phpcr/add-encoding-tests

add some tests about content encoding when writing, reading and querying