LBFGS_cpp is now flexible about the potential it accepts

if the potential does not derive from Potential it wraps it in one that
does.