Implemented hasMany and fixed validations and table names.

Shame on you, PHP. Seems that inherited classes doesn't stores their own static
variables, so now we'll need to resolve this by hand.
Order now is properly set by the calling class.
 Primary key now is properly set by the calling class.
Strings not needed.
Columns now are properly set by the calling class.