Performance improvement in ccall and cwrap

functions generated by cwrap are now up to 100 times faster than before.
The most impressive speedups are observed in functions that operate on numbers.

This is at the cost of a longer cwrap function, that doesn't rely on ccall anymore. This adds code duplication. This adds less readable code (javascript code encoded in strings). But it's 100 times faster :)