Allow specifying question type and class in requests

Intended to fix #33