Don't use MissingResourceException.

IKVM has some problems with this, and it cannot be thrown, at least not for my use case.
Potentially this is a threading issue in IKVM, but we don't really need it since containsKey can be
used. This hurts performance, but better than halting the app.
Fix random string method.

Also rename to getRandom to match the other method names.