Applied patch from jira issue OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods.
Fixing Typo, And also adding missing import statement. Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647935 13f79535-47bb-0310-9956-ffa450edef68