Add new filter to allow site owner to specify cache locking method.

See websharks/quick-cache#387