OOZIE-1187 reduce memory usage of SLA query (invoked by CLI command) to avoid OOM (egashira via virag)

git-svn-id: https://svn.apache.org/repos/asf/oozie/trunk@1444320 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'trunk' of github.com:griddynamics/oozie into trunk-gd