src: fix CreateWindow attributes encoding

- Every attribute must have 4 byte length.
- Add test.
src: fix CreateGC attributes encoding

- Every attribute must have 4 byte length.
- Add test.
test: clean configure-request test
src: maskList.sort @ packValueMask must be numeric
Merge pull request #74 from sidorares/fix_create_window

Fix CreateWindow and CreateGC attributes encoding