class generics

Summary:
Parser support for class type params and method type params,
and for generic type expressions.

Test Plan:
make tests
(added a test)

Reviewers: pad

Reviewed By: pad

CC: bhosmer, bryano

Differential Revision: https://phabricator.fb.com/D1235652