Add Travis config file to run tests.
Add Apache license to project.
Add .idea and .DS_STORE files to be ignored for this repository.
Add build status to README and improved documentation.
Merge pull request #1 from BernardoSilva/add-details

Add Travis config file and license to project.
Add license, homepage and type fields to composer.json.