started to move tests in Elastica/Test namespace
added phpunit in composer.json
modified tests to use namespace syntax and fixed bugs accordingly
removed executable flags on all flags except when needed