RavenDB-1356 Provide a console upgrader between db versions
Replace conditional with polymorphism