Remove lodash dependency

Replace lodash function calls with native & jQuery alternatives.  In most cases these will be faster.
Merge pull request #31 from jamespratt/patch-1

Remove lodash dependency