Add restore function

- /restore/<filename>
> w/restore/backup --> restore db from 'backup.dat'

- add flash messge into template