prepend script/ to package.path
make addhook return a token that can be used to remove the hook
allow to prepend hooks
fix addhook
proper deinitialization in blockmasterkick
read files in load.d with the right priority