Refactoring

I guess I consider the list creation bit rather ugly, but it makes
adding new symbols easy. The list of substitution possibilities is
two dimensional, each row being for a symbol, and the columns:
[regex for re.match, path to file of state log, function or string
of state to check against state log, substitution output, regex to
replace with re.sub]

Remember, re.match and re.sub don't work the same way. re.match,
to put it simply, inserts ^ (beginning of line) at the beginning
of every regex you hand it, where re.sub does not.
Documented %x adding trailing space to returns

While that might seem like a "bug-feature", I actually intended it
this way, I just didn't write that in the docs to begin with. I
wanted a way to keep Pyhoc from jamming everything together, so
I had it add a space to whatever it returned.

I intend to make three other versions for each substitution, so
I have one that returns `output `, `output`, `[output] `, and
`[output]`, so users can choose their own style of prompt
Added variations

General form of %x:
+ x is `output `
+ X is `output`
+ bx is `[output] `
+ bX is `[output]`
Updated README to include new substitutions