refactored AttributeTranslationStrategy assoc null handling

reuse UnitOfWork logic
do not write assoc/assocNulls unless there is actually data to write
Merge pull request #544 from doctrine/AttributeTranslationStrategy_null_handling

refactored AttributeTranslationStrategy assoc null handling