Fixed most of the GHC warning.
Introduced while statement, foreach combinator and primitive and JSArray.
Compiler now translate for each loopes.
Adjusted clock example to use foreach.