Ticket #6181: Properly handle >> terminating template parameter lists.

Hi,

This ticket is due to the fact that simplifyTemplateInstantiations did not support template lists ending with >> (C++11), which is fixed by this patch. Thanks to consider merging.

Cheers,
  Simon
Shouldn't it be indentlevel5 > 1?