Added support for associations and collections filled with multiple
result sets.

Support multiple foreingKeys