script: move CScriptID to standard.h

Also fix includes as necessary
squashme: add string formatting includes back to CScript, but move them out of the header