Delete/Rewind core_resource functionality.

Added functionality to delete/rewind core resource in order to force Magento to re-run SQL. Useful if SQL doesn't run for some reason. Also useful if you want to test upgrade scripts ect.