move main class detection into rlwrap-jdb-filter
factor out multiple_commands
cloak_and_dagger implementation of multiple_commands
factor out command_error