Addded versions support in backup and table view.

Now you can view all versions of data, also backup them with all
versions preserved in proper order.