Inject entityFieldQuery class

See #335.