I'm working on something else at the moment so feel free if you'd like to implement it and send me the files. Probably should be a setting also for IsStartup in which case ScriptManager.RegisterStartupScript would be used rather than ScriptManager.RegisterClientScriptBlock
If you need a module to add something other than a script, page meta data might work or another module could use code like:
to inject some extra markup.
Since the script module would be fairly minimal it can just go into the /Modules folder.