fix previous refactoring of parseLiteral() to parseListeralValue()
Merge pull request #119 from phpcr/fix_cast_parsing

fix previous refactoring of parseLiteral() to parseListeralValue()