Verify that aliases exist

When dispatching certain query builder nodes which do not rely
on a ODM mapping, no validation was being done on the alias existance.

This PR adds an explicit check for each one.
Removed "getMetadata" method
Merge pull request #491 from dantleech/verify_aliases

Verify that aliases exist