rework example app to use DB pod

These are @marianitadn 's changes to add a DB to the example, originally from this PR:
https://github.com/openshift/origin/pull/201