Added wfSuppressWarnings and wfRestoreWarnings

Added wfSuppressWarnings and wfRestoreWarnings before and after the
ini_set call to apc cache by default to suppress errors if ini_set is
disabled.

Change-Id: If91e99c30fce3af14e69acd35112af188e62b6ac
Merge "Added wfSuppressWarnings and wfRestoreWarnings"