Fixed tests and added Travis CI

Some tests wouldn't run on a fresh system install, /data/keys directory had to be manually created. I also added a SSH Key helper to assist with generating keys and catching errors.