Use enable_if and templating to reduce the amount of duplicated code in dot_product vari's
Merge branch 'master' of https://github.com/stan-dev/stan
Remove duplicated code in agrad/rev/matrix/multiply.hpp using enable_if pattern.
Technically agrad::var is not scalar according to boost::is_scalar.  Should probably provide specialization in the future.
Blast, forgot ::value.
Merge pull request #36 from mbrubake/master

New pattern to reduce code duplication in mixed-type agrad functions.
cleaning up includes for src/stan/agrad.hpp
Added buffer at the end of adaptation for stepsize to adapt to final (co)variance; fixed minor misimplementation of dual averaging
Merge branch 'master' into diff_win_mac