A simple php script to do db init and patching

To make Windows peoples lives a bit easier, as it doesn't rely on grep, but should do the same thing.