Factor out the common parts of of the hoq* scripts

Also add hoqdep
Move hoq-config script to top-level

This way, we can copy it more easily.
Add some more symlinks to fix anomalies

This closes #201.
Merge pull request #213 from JasonGross/factor-scripts

Factor scripts
Merge pull request #214 from JasonGross/fix-symlinks

Add some more symlinks to fix anomalies