Doctrine Common

GH-86: class_exists is great, use it.