Doctrine Common

Change CommonException to interface and use it everywhere!