Strip trailing whitespace.
Fix a few minor typos.

Standardize on "command line", not "command-line".
Rename "command line" to "command-line".
Merge pull request #426 from Locker537/cli_fixes

Minor improvements to 'Command Line Applications' docs