FLUID-5265: using lodash directly

External libraries have been deprecated from grunt. Converted the util calls using lodash to use lodash directly. Some other minor refactoring required by the change, and a simplification to the get method.