Add equality operator to AtomicStructureAdapter.

And also to its derived classes.  This is intended for caching
asymmetric unit cell and deciding if the symmetry expansion is
up-to-date.