Update travis phpcs command

So it only runs on src and tests folders.

Also add a git ignore file so that dependencies are ignored, and generally clean up the travis file which had some legacy stuff in it.

Fixes #39