add tests for inner class
change the way of treating enclosing type
WIP extend QualifiedName to lookup inner class
add another test
split inner classes and template inner classes