fix decorator in example_project
python 2.6 compatibility - sys.version_info is only a tuple - checking for this and some refactoring to avoid repetition of code
python 2.6 compatibility - altered setup.py to import importlib if python version is less than 2.7 also changed from distutils.core to setuptools since the new dependencies were not being picked up
Merge branch 'master' into py26compat
fixed TemplateFunctionsTest for compatibility with python 2.6