remove IOError and ContextRuntimeError
remove Resource, simplify Locale building
Fix locale switching
Remove linkResource and friends
Fix get* soon after a locale change (bug 942183)