fixed missing node assignment
implemented lazy Sanitization for ORM models
fixed cleaning of vars linked by reference
no need to trigger a magic method here
Ensures config is loaded to prevent temporal null timestamp issues.
Fix bug in \Orm\Model_Temporal::find_revision() throwing exceptions when no revision was found

Signed-off-by: Philipp Tempel <phtempel@gmail.com>
Merge pull request #314 from philipptempel/patch/fix_find_revision

Fix bug in \Orm\Model_Temporal::find_revision() throwing exceptions when...
Adds the ability to include relations when using the UpdatedAt observer
Updates coding style
Adds missing comment
Updates use of wrong keyword and prevents relations from being checked if they are not loaded.
Adds getter for  in relation objects and updates updatedat relation checking to handle singular relations.
Merge pull request #315 from fuel/updatedat_relations

Adds the ability to include relations when using the UpdatedAt observer
Orm\Query::get_query() fixed ignore model connection setting

This was issue, if defined connection has different table preffix that default connection.

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Merge pull request #319 from feldsam/1.8/develop

Orm\Query::get_query() fixed ignore model connection setting
fixed missing path for the root node when dumping a tree. closes #318
reverted #319, broke all subquery generation
set a custom connection onto the DB query object. Related #319
added support for related(). closes #301
cleaned up ORM sanitization code