Added map() and each()

Removed some dependencies to jQuery
Added tests for map() and each()
Fixed bug using window instead of GLOBAL in declare()
Chaned some messages in testcases
Removed some obsolete parameters
Small improvements
Added tests for BaseObject