Test dynamic sizes for AutoDiffTerm with generic lambdas.
Catch 1.0 build 23.
Added helper function “make_differentiable,” for creating terms.

The main use for this function is to create terms with C++14 generic
lambdas.