Merge pull request #2 from JonathanO/master

Minor fiddling to improve tests, and composer usage.
Ignore IDEA project files.
Travis CI config.
Travis CI config.
Travis CI config.
Travis CI config.
Travis CI config.