Selectively apply liftfunc and constraints

We need the liftfunc terms to be left out of the RHS for adjoint
solves; we need QoI derivative vectors to be left unconstrained when
using them for dot products in sensitivity calculations.