Add phpunit tests and travis setup.