more thorough test for an author query

also check the value of `$wp_query->author` and `$wp_query->author_name` in addition to `$wp_query->is_author` when determining whether we have an author query on our hands or not.

related to https://github.com/GigaOM/gigaom/issues/4904