If encryption is already initialized we don't need to do it again.(cherry picked from commit b28f3addfc63b6a2bf9e76b0230f716e9ef7f51c)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
Summary: fixup spec file

Remove duplicate entries in the config dir

Fix directory permisisons of some directories

Remove the scripts from the webapp as they are packaged inside the cloudstack-common package
(cherry picked from commit 5af6d16c5d6b046be911ed369919a0d9bba10d62)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
Before any database calls are made we need to make sure that encryption
is properly initialized if we have an encrypted db.properties.(cherry picked from commit b1d70f7fe340302f180843c01ee6674166d03ee1)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>