MAGE-726: Fix tests
- fixed closing mysql connections after forking new thread
- fixed adding error messages to session in cli scripts
fixed resource model rewrite test
fixed Aoe_Searchperience_Model_Resource_Lock_Resource rewrite test
Update composer.json with new package name
Bump version number
Change to magento-module package type
Adding a better name to use for the install folder
Increased version number for searchperience-api-client
fixed indexer for one thread case
Split composer.json into module and project files, added under lib dir to avoid dependancy resolution adding dependancies in wrong place, included composer.phar in module
Fixed trailing comma