Change MysqlEntity setter so that it accepts entity values for xref and mref attributes.
Merge pull request #2105 from fdlk/fix/1992

Fix #1992