Locos bugfixes

Signed-off-by: Michael Greenhill <doctorjbeam@gmail.com>
phpunit updates

Signed-off-by: Michael Greenhill <doctorjbeam@gmail.com>
Hopefully a bugfix for Travis-CI CURLOPT

Signed-off-by: Michael Greenhill <doctorjbeam@gmail.com>