Utility functions - each, map, extend

Instead of borrowing from underscore.js, lodash can be used to add
custom builds. This will be better for maintainability. We wouldn't
need to test these too if an external library is plugged in directly.

Signed-off-by: Rohan Jain <crodjer@gmail.com>