Made command-line interface for testing nicer. Uses gflags and pulls the logic into command_line_arguments module. Added another threading tests.