Allow `using typename Foo;`

C++11 allows the typename disambiguator to be used outside a template
but SWIG wasn't allowing it in this particular situation.

Fixes #1032
3 files changed