Changed the way $.each behaves with arrays and array-like objects.

Callback params are now `index`, `element`, `array`.
Merge pull request #12 from mmarcon/each_fix

Changed the way $.each behaves with arrays and array-like objects.