Added TitleQuery. Fixes #17.
Added tests for TitleQuery.