test 'type_version_tag' directive and fix it in Py2

--HG--
rename : tests/compile/ext_attribute_cache.pyx => tests/run/ext_attribute_cache.pyx