added test for query alias handling
Merge pull request #117 from phpcr/query_alias_test

[WIP] added test for query alias handling