feat(locators) Add map() function to element.all

Added a map function to element.all to apply a function to each element and return the result of the transformation.

Closes #392