[shell mode] Add tests.  Not very thorough but touch most functionality.
[shell mode] Fix highlight of spaces after variables in double quoted strings.
[shell mode] Fix number highlight at end of line.
[shell mode] Understand backslash escaping outside strings.