added isset() support for EAV attributes
Added default primary keys to Model_Temporal

Signed-off-by: Ian Turgeon <iturgeon@gmail.com>
Merge pull request #227 from iturgeon/1.6/develop

Added default primary keys to Model_Temporal
fixed temporal eager loading of non-temporal related adding timestamp restrictions

Signed-off-by: Ian Turgeon <iturgeon@gmail.com>
Made min()/max() method returns int, not string values
Improved phpdoc of Query class
fixed temporal query test for Temporal subclass

Signed-off-by: Ian Turgeon <iturgeon@gmail.com>
Merge pull request #231 from SCIF/1.6/develop

Phpdoc improvments on Query class
Merge pull request #230 from iturgeon/issue/temploral-eager-loading-non-temporal

Eager Loading of non-temporal related models from a temporal model breaks.
changed temporal join result to use join_on instead of where #228

Signed-off-by: Ian Turgeon <iturgeon@gmail.com>
Merge pull request #229 from iturgeon/issue/228-temporal-join-on

changed temporal join result to use join_on instead of where, issue #228
Validation observers for insert and update
Merge pull request #237 from propcom/validate-on-insert-update

Validation observers for insert and update
Don't set the FK to null if we're going to delete it anyway

It is legitimate for the FK to form part of the PK (albeit a bad idea), and
->set() explodes if you try to change the PK. So, don't try to change the PK
if we're deleting it.

Exploding if we're not cascading is fine because this would represent a broken
DB structure.
Merge pull request #241 from propcom/1.6/develop

Don't set the FK to null if we're going to delete it anyway
fixed FK reset on delete of hasone when cascade delete is false

also cleaned up the delete in hasmany
no need to reset FK's on deleting a belongs_to object
Fix PhpErrorException undefined index: id 

If you create an "after_insert" observer that manipulates the just-inserted data, the add_primary_keys_to_where() method call will throw an undefined index exception because _original is empty and _is_new is false. Fix by setting _original to _data immediately after insert.
Fixed warning while using from_array() on new instance
Merge pull request #244 from benharold/fix_after_insert

Fix PhpErrorException undefined index: id