removes get_class() for HHVM compatibility
adds phpunit dependency
configures travis environment