moved RedBean to src directory and tests are now using composers autoload for testing, added phpunit in composer.json and added phpunit.dist.xml