Add URPMI support.

- RWMJ: Some minor fixes, and update dependencies.
build: Ensure zlib is statically linked before using it.
Add support for xz-compressed kernel modules.

RWMJ:

 - Whitespace fixes.

 - Detect static-linked xz.