fix phpunit test
Add post parameters to installer
create an initial sane database
fix many code sniffer issues