Initial Maven setup in preparation for Travis CI.
Done some work on RoosterHandler to prevent NullPointerExceptions.