Requirements tracking -> Working functions

The processor now finds every module that is required for the script
and passes that on to the actualizer, which adds it to the JS. This
means functions finally actually work!