ENG-1218: Enable to load a partitioned table using @SnapshotRestore which was saved as a replicated table and vice versa.
Merge branch 'master' into ENG-1218

Conflicts:
	src/frontend/org/voltdb/sysprocs/SnapshotRestore.java
Minor fixes.
Use com.google.common.primitives.Ints.toArray to convert Collection objects to arrays.
ENG-1218: refactor SnapshotRestore and remove unnecessary system plan fragments.
Merge branch 'master' into ENG-1218
ENG-1218: add some comments and minor changes.
Merge pull request #596 from VoltDB/ENG-1218

ENG-1218