Moved out-of-jquery-context-functions to util, added documentation,
changed a couple of scripts. No validation as of now, probably contains
several error messages and is not supposed to be runable.