Fix mapping. Implement buf2map() that works.

We now build and run all the way through perfectly!

-   fix generic buf2map() function.
-   remove util.{c,h} & forget about its memory leak
-   begin thinking harder about memory management