Improve template parsing.

cppclean can now parse code like this:
typedef Foo<Bar<int>&, int> FooType;
typedef std::function<void ()> FuncType;