I posted an idea at blenderstorm a while ago:
Anyone care to comment on whether they think the idea would work or who might be already coding compositor nodes and have an insight into suitability.
A couple of additional links about lensfun:
One showing the interface for ufraw:
And the authors site:
Thought it might be useful from an animation / batch image manipulation perspective as well.