EAV properties added to to_array
EAV properties are loaded in the correct order, property is a reference to the original relation array
EAV processing is merged with EAV container check
Introduced third parameter
Relation filtered, properties merged to array
Fixed typo
Check first whether $eav is true
Merge pull request #329 from sagikazarmark/1.8/develop

EAV properties added to to_array