Add ability to read from options file to check_mysql_query.c

This is the same code that was added to check_mysql.c in 5ed7194.
Add additional usage data for new options in check_mysql_query.c
Merge pull request #1200 from awiddersheim/add_file_options_mysql_query

Add ability to read from options file to check_mysql_query.c