Add PolyTypeCarryingSymbol

Created method for calculating type parameter arity.

ClassfileParser#signatureToArity takes a generic signature
and returns the number of class type parameters.

Add isOriginallyMonomorphic to TypeHistory.