Adds PHP 5.2 and 5.3 on (test) build matrix.

Also removes the constraint of PHP 5.4 on composer.json as it may not be
the case for the currenct code.