Allow the namespace alias to be used in query builder

Allow namespace aliases (e.g. FoobarBundle:Bar) to be used
in the query builder.

Fixes #407
Merge pull request #424 from dantleech/issue-407-qb-ns-alias

Allow the namespace alias to be used in query builder