chore: remove usage of lodash
All the lodash utils in the library can be replaced with pure JavaScript code. This PR removes lodash as a dependency while not changing any of the behavior. It's not using any latest ECMAScript features either, just regular ES6.
I am not fully convinced about this PR, lodash is not obsolete and also replacing it might potentially introduce new issues if not done properly.
From the pure Appium scope, where this lib is used in (almost) all other modules it also does not really help to achieve anything, like reducing the amount of dependencies or the overall installed package size.
I guess I don't have strong feelings about this either. @talentlessguy can you share more about why you are proposing this change? Are you incorporating this package into something else and you don't want to see the lodash dep there, or what?
@jlipps I don't personally depend on it but there are projects that do. This PR removes the need to install lodash if you don't need it. The PR itself is really small, because lodash here is not needed at all and can be replaced with regular JavaScript. If this isn't a worthy improvement, feel free to close the PR.