Fixing issue #1: missing definition of XOOPS_PATH in Installation
Revert "Fixing issue #1: missing definition of XOOPS_PATH in Installation"

This reverts commit ac07cb884d347103ce3cb2c2a0a430dbe1fb5946.
Fixing issue #1: missing definition of XOOPS_PATH in Installation
Updated xml files for unit tests so they would run with Doctrine.
Updated init_mini.php so it would be dynamic instead of hard coded.
Updated class\database\DatabaseFactoryTest.php to incorporate doctrine call.
Merge pull request #2 from mambax7/master

Fixing issue #1: missing definition of XOOPS_PATH in Installation
PSR2 related stuff with some minor bug fixes.

captcha needs to be rewritten from ground up.
mail class needs to be removed and added as a library.

Captcha and phpmailer due for changes so no more PSR2 related work.
Removed reference to class not yet added to commit.
Add some data locations to ignore

Should make it easier to sort out the real changes if your working copy is
also part of a live web site.
Another tweak to ignore list

Eliminate uploads folder created by modules/banner install
Also eliminate xoops_lib/composer.lock for now.