Allows for multiple includes of headers

We're going to need to do the #ifndef for every header we might include
multiple times.  (I already ran into this problem).
readmem / readstr / readnum

These are the ones we rewrote for 9ns.

Feel free to move them to another file.  Needed a dumping ground for
things needed for inferno but not part of their codebase.