Renaming the check_empty_arguments method to something more descriptive.

This is in response to comments from @richardkmichael on https://github.com/rails/rails/pull/9332. 

I'm renaming the function which checks to see whether or not there are arguments to the query method. The function is now called has_arguments? so that it's easier to tell
that it's just checking to see if the args are blank or not.