Rename InstHead to InstRule and DeclOrInstHead to InstHead. Work on #31.
HLint fixes.

No functional changes. Mostly removing redundant parentheses/$.
Second round of HLint fixes.

No functional changes. Mostly removing redundant do/parentheses/$.