fix handling of QList<ComplexClass> in the reflection subsytem
This was fixed in cd80b56ee797bc3167f13ac287448e5c67335b21 but was
not complete when the template parameter was a complex class such
as PostItem, where it failed due to a leading period. Re-fixes #1944