Add upgrade console command, minor changes on delta file

The upgrader can be called from CLI by using
cake/console/cake upgrade