big optimization to save and validate hooks to not cause lots of single db queries
Merge pull request #17 from nyaruka/master

DB Optimization for save and validate
Added default value to Entity.get_value_by_attribute (if the attribute's value is not set).
Added Value.get_actual_value