Test EntityManager::createNamedQuery.
Test EntityManager::createNamedNativeQuery.
Merge pull request #842 from TheFrozenFire/tests/query-tests

Added EntityManager query creation tests