Rename TableQuery, add _query_class
Update tutorial, fix old DictObject style reference