test HasJoin for MySql and PostgreSql as well.
introduce AbstractRelation class; set order when retrieving data in HasJoin and HasMany.
key and load can accept array of ids.
allow to set orderBy and Where condition in relation.
moved many code to AbstractRelation.