bug fix: now works with custom Swift classes

When using swift the custom classes couldn't be found  by "NSClassFromString".
I created a small method with convert a class string name into a valid Swift class name and then try to retrieve the Class object again.

No big deal, but now works with Swift :)