Add a example which uses a sqlite persistence layer

Add an example that will use a sqlite layer for
persisting flow and task information, and will use
the layer for future resumption.

Show how to output what a logbook contains as well.

Change-Id: If5f936fe100cb43ed857b99e3fae0c6e6baba5ed