Updated to work with new xproto XML files.

Namely, the "doc" element is ignored. Also, I've sorted everything
before output so that diff isn't completely useless.
Update to latest xproto XML.
Don't needlessly change source files every time.
Padding on a list is on the length of the list.

There was a bug where padding was being computed on each element of the
list. Close #5.