Add database model to store snapshots

This adds a new table to store stack snapshots, and the APIs to access
it.

blueprint stack-snapshot
Co-Authored-By: ala.rezmerita@cloudwatt.com

Change-Id: Ib3d0bcb136a7415240b01da56f30684ab603bb9a