Fixed find empty query return value to empty array

Signed-off-by: Nick Brook <nick@rmpenterprise.co.uk>
Merge branch 'refs/heads/master' into develop
Made PHP and JS versions equal, fixed bugs, all tests should pass

Signed-off-by: Nick Brook <nick@rmpenterprise.co.uk>
Added Psr logger interface, fixes

Signed-off-by: Nick Brook <nick.brook@ratemyplacement.co.uk>