[FIX] Changes added to fix false feedback to the admin when activating or deactivating prefs. Ref:http://dev.tiki.org/item4742.

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@48391 b456876b-0849-0410-b77d-98878d47e9d5
[bp/r48372][FIX] Installer: Handle access denied case for database connection.
Thanks Arild

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@48392 b456876b-0849-0410-b77d-98878d47e9d5
[MRG] Automatic merge, branches/12.x 48386 to 48392

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@48393 b456876b-0849-0410-b77d-98878d47e9d5