This patch forces the system to keep the same permissions on the
files being tokenized. This is useful for files in bin type
directories that need to be campified to point to the proper
lib directories.

This patch fixes an issue where the password caching system for
the databases assumes the camp being created or updated uses
the same database as the main camp database. I adjusted this
to pull the db_type from the configuration for the camp
being made.

…efault
After applying this update, you must add httpd/conf/httpd.conf to
camp-config-files or your camp Apache configuration will no longer be
interpolated and copied into place.
This is necessary to enable camps to work right with nginx, and no longer
assume Apache is used at all.