Add missing format call for invalid email/user warning in QueryForm
Add MockHandler for future testing of logging
Add test to trigger problem in original issue description
Ignore empty email/usernames when cleaning the QueryForm

This fixes #101
Merge pull request #102 from cbmi/issue-101

Ignore empty username/email values when cleaning the QueryForm