Inject entityFieldQuery class.
Merge branch '7.x-1.x' into 319-move-references-embeds
Issue #319: Added tests.