Use forward-declaration for QFS handle

To maintain internal type-safety, limit the number of allocations on startup and
restrict pointer semantics, the QFS type has been forward-declared as a struct.
All casts of the KfsClient have been removed, accordingly.