Fixes #15 : isEqualTo should not use generics.
It allows to pass a parameter whose declared type is not actual's type
Fix warnings