Iteration functions.

Added each and map-functions which can be accessed with the toretto-prefix. Also added a way to add custom functions to the Toretto prototype.