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
Merge pull request #33 from wluo/github-4904

more thorough test for an author query