Merge pull request #27 from xyNNN/master

Add phpDoc blocks and change indent size from 2 to 4.
Moved from 2 spaces to 4 spaces
Add phantomjs-installer as dependency in composer.json
Implementing the setupJS routine to set up the client with the phantomJS binary. First version, refactoring needed.