fixed exception handler / added demo for error -> exception
Fixed a bug caused by API change of the memcache extension

Currently the only way to fix this is reverting the latest changes
(remove compression flag) our version of memcache seems to be
incompatible with the latest changes.