RemoveX() functions return removed values

- Changed RemoveX() functions to return the value that was removed if
successful.
- Changed GetXOfMod() to take asNameOfMod as argument instead of akMod.
- New Core.psc function: IsModRegisteredWithRSMod().