fix acting_as? for namespaced model classes

Fix #8