Follows rP25366.
With these functions split off, we can finally clean out headers and remove ScriptInterface.h from most of them, in favour of smaller and more precise headers. This isn't 100% complete yet.
Take the opportunity to clarify some comments regarding Mutability.