Fix XREF search
Set row so we have some margins
Refactor QueryGenerator code
Clear shoppingcard on entity change
Validate lookup/label attributes
Validate refEntity
Merge pull request #1880 from erwinwinder/master

Fix XREF search