[Issue #398] Fix the help/variables command and API endpoint
[Issue #398] Add simple test and better displaying for help/variables
Merge pull request #409 from jwaterfaucett/fix_help_variables

[Issue #398] Fix help variables