Javascript test-related updates

* Added to readme some bits from Shane's post that were relavent, and instructions on how use Sahi with phantom once things are set up.

* (Also added .gitignore to ignore the artefacts produced by running composer.)