CBQE-928: add expiration and flag cases to online upgrade

Change-Id: I28710c27b46a86f34c8e719e0f2315541f966d9a
Reviewed-on: http://review.couchbase.org/24100
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>