Adds tests for the Json Parser

* Adds phpspec unit testing tool to composer as dev requirement.
* Adds travis config file