Minor cleanups to make the gii more compatible with the clientscript.

gii breaks if clientscript inserts the scripts after the title tag. I changed the module a little bit to use the clientscript for loading it's script file, so it will always load after the jquery code regardless of being before or after the title tag.