Factored out variables.
Added spec to ensure pg is installed.
Factored out installation of pg gem into separate recipe along with specs.
Added spec to test whether pg recipe was included.
Factored logic of loading the secured data bag out into a lib.