Remove isSameAs and equals from wikibase.Entity

These methods are not used anywhere and their implementation is questionable.