gprot.py: Use OBAtom properties for common PairData
gprot.py: Don't reorder explicit impropers from PREP files
gprot.py: Use builtin next()
gprot.py: Refactor for readability