Refactored Ticket to be testable

Fixed a test
Added setup.py
Added .travis.yml