feat(build_library): put all of the partition stuff behind a flag

this lays the groundwork for supporting a cpio img which doesn't have
partitions.
feat(build_library): pxe support

This adds support for creating a PXE image and kernel using build_image