Check the status of APC via the constant

Rather than checking via `extension_loaded()` and `ini_get()`. Per #172
and #120.
Return false on error

Rather than just throwing an exception.