Revised Models for PEP8 Compliance

Also caught a few automated tests that were failing, and updated them to
work with changes to the ListOfPieces, now that it will only return a
QVariant object when called with Qt.DisplayRole.