Change the way modules routines are generated.

This makes it more consistent with classes and easier to separate
the module routine from the external to which it binds.

It probably also helps with namespaces when/if they are needed later.
Back to simple helloworld.
A few new string functions, refactoring http_test.