Split FunctionSymbol.

Move its type specific attributes to FunctionType.