Progressive loading DB change

with fixes for server-side migration problems
updated code review: http://mrccodereview.cloudapp.net/ui#review:id=1222