bump dependency lodash from 1.0.1 to 2.4.1

Bump version of dependency lodash.
I checked the code lines where lodash is being used, and the version bump does not break anything.
Also the tests run properly.