Bug 1043132 - 1.b/N: remove unnecessary function name.
Bug 1043132 - 2.a/N: stitch schema upgrade functions up.
Bug 1043132 - 2.a/N: fix alignment
Bug 1043132 - 2.b/N: unify variable naming
Bug 1043132 - 3.a/N: upgrade to match current resource stats db layout.