master: Change initial metadata version to 1

metarestore uses 0 as a special value for metadata version (to indicate
invalid version), so it was not possible to run it on fresh metadata
(with version 0). Now metadata version starts as 1, so the metarestore
has no such problems.

Change-Id: I99ad3b6067ef57663f736b7702755fe7980a069b