Updated DB schema: removed currentversion table, and added 'current' and 'prevversion' fields to 'updates'.
Added first version of the updater script.