[server] Support a typeOnly option to "definition" queries

Issue #135