Adds tests, phing build and travis