fix for dead php versions; one more check (object versions with wrong attribute count)
. added more data validation: object versions with wrong attribute count
. fixed: attribute checking did not work with php < 5.3.7
. added more data validation: object versions with wrong attribute count
. fixed: attribute checking did not work with php < 5.3.7