core: Remove CompatException class and it's usages

Change-Id: I726e0f9e7fb0c9bff00b8d510dc3907d202e0fa2
Signed-off-by: Tal Nisan <tnisan@redhat.com>