Issue #2124031 by mxlav: Entity_access() fails when using entity reference.
Merge branch '7.x-1.x' of git.drupal.org:project/wetkit_core into 7.x-1.x