Fixups for py3 nosetests

- only install unittest2 on 2.6 travis builds
- function.func_name has become function.__name__
- use python module six for script_tests metaclass

Change-Id: I9fcded1921048f9570aca4c03d4b730f5b8680de