run profile's CustomLoadFunction when changing theme or assigning a local profile to a player

This should make the custom load functions a lot more useful.
Merge pull request #146 from sigatrev/LoadFunctions

run profile CustomLoadFunction when changing theme or assigning a local profile to a player