Make class_exists check against the current namespace

Avoid collisions with the TribeHR default namespace on User, Department
Merge pull request #4 from iniq/fix_class_exists_ns_resolution

Make class_exists check against the current namespace