Updated .gitignore for PHPStorm.
Fixed MariaDB configuration and implemented variable substitution.
Fixed test runner and test data generation script.