Refactored Converter to make it more extensible

- Minor refactorings to make the class more reutilizable

Made in association with: https://github.com/phpcr/phpcr-shell/pull/68
This method now simply returns the literal *value* not the `LiteralValueIntreface` object - which is only used directly once anyway.