More completion work

This change reworks completion further to unify behaviour of completion.

It also fixes various completion bugs.

Does not currently consider case normalization.
Made various node slots constant
Introduced parameter kinds

These specify the kind of syntax a parameter uses (simple vs named).
Use new information in help
Cleanup and comment
Comments
Merge pull request #15 from promovicz/completion-and-help

Completion and help