Fixed set_class_name in the Relationship class to avoid fatal errors for "redeclared classes" in the autoloader when using namespaced models.
Merge pull request #294 from onemightyroar/bug-fix-autoloader-reflection-class

Avoid "Cannot Redeclare Class" error in autoloader when using namespaced models by checking namespace first.