Recursively tries to free cache when full
Adds a spec for testing QUOTA_EXCEEDED_ERR handling
Adds documentation for the priorityFn option.