Use CGSManagedDisplay for checking screen equality

This closes #177, as far as I can tell. The problem was that changing video
cards probably generated different NSScreen objects, so checking equality there
no longer worked. The actual display identifier from the spaces API seems to be
stable, though.