Fixed incorrect entity name being used in Swift projects.

NSStringFromClass includes namespace when called on a Swift class. Fixes #17.