refs #2929 - generate encryption key and encrypt data in postinstall

Tested clean installs and upgrades on Wheezy successfully.

http://ci.theforeman.org/view/Packaging/job/packaging_build_deb_coreproject/481/

RPM version: https://github.com/theforeman/foreman/pull/1275