Serialize ConfigureWindow requests properly.

This uses the mechanism xcb used to use to get the padding right,
except it didn't quite work for them and they yanked it years ago.

My generation method makes the old method easier, so I'm bringing
it back.

Fixes #3.
Bump version.
Update git ignore file.
Fix shebang