Add unit test and small code cleanup.

- Removed from WildcardExceptionMapper
- Added Provider annotation to QueryParseExceptionMapper

Resolves: https://www.pivotaltracker.com/story/show/61500542