Implemented "Extended Segment Address Record" and cleanup

I have confirmed that it works by first uploading the hex via Avrdude using the command line and then reading the flash. After that I did the same thing with my Android phone and both flash dumps where exactly the same ;)