* foreachs refactored due to support previous versions of internet explorer.
* each/map backward compability fixes are removed.
* $l.date is heavily improved to support custom datetime formats.