butch-print: cleaning up /pkg, fixing up 'world'

This PR took a bit of effort and tedious testing, but in time for butch's new [deps.host] and [deps.run], there is now butch-print for assisting in keeping /pkg in order. 

'butch print (package)' will do the following:
1. Print [mirrors], [main], [deps], [deps.host], [deps.run], [build] off, in that order. 
2. Each section has its body stripped of leading and trailing white-space.
3. Every section but [build] and [mirrors] is also run through 'sort'.
4. A trailing newline is added to each section.
5. Empty sections are omitted entirely.

The first three patches in this PR cover what is needed for butch-print. Finally, the remaining eight commits repair missing dependencies encountered when attempting to build 'world'.

As of time of this PR, the current version of butch-print and all files have been used to build a chroot from stage0 -> s1 -> core -> world and onward to a total of 561 packages compiled successfully.

The current state of the PR is believed ready for inclusion, but feedback is appreciated.