Use Optional In Cache To Keep Track of Errors Generating Moosifications.

@timoman: Better handling of errors in regards to the caching.
Also, errors generating moosifications will now be tracked as events in Keen IO.