perf($parse): create new Function to call statements without iterating

When having multiple statements, instead of iterating through the statements
array, a new function is created. This function sequentially calls all the statements
which is faster due to not having to do the array lookup and it also allows the VM
to make optimizations like inlining.

In this jsperf you can see the difference when many calls are made. Of course, the real benefit will depend on the complexity of the statements to call.
http://jsperf.com/compile-function-list-call