Add entityreference revision support
Merge branch '7.x-2.x' of github.com:phase2/oa_core into 7.x-2.x