Refactored cli.py to ease unit testing
Implemented unittests for template lookup with absolute and relative path
Added nose to test_requirements in setup.py