Preserve line ordering
Created by: diggit
This PR follows PR #21 and closes issue #22 (closed). Line order is preserved and formatting matches KiCad's output. This was problem of DRAW part of symbol. note: Kicad may reorder lines if they are ordered in different way than he likes it. But checklib.py does not touch their order anymore.
test Tested on atmel library. I tried --fix on some valid component and resulting file makes exactly same changes as resaving library in KiCad.
Edited by Joel Guittet