Tools: DFG: Add Register class.
Adapt Peripheral class.
Tools: DFG: Adapt AVR reader to use Peripheral and Register classes.
The GPIOs are now parsed directly into pins, which allows more accurate merging.
Fix critical merging bug in device.