updating command tests so they are robust to minimal changes in output
Merge pull request #541 from stan-dev/feature/issue-540-fix-brittle-command-tests

Fixes #540. Fix brittle command tests
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
fixes issue #543
Merge pull request #545 from stan-dev/bugfix/issue-543-log-prob-grad-exception-spew

Fixes #543. log prob grad exception spew
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
added apply_recover functional to autodiff to catch, recover memory, rethrow, fixing leak in #543
re-added memory recovery for gradient to fix issue with symplectic test
Merge pull request #548 from stan-dev/bugfix/issue-543-grad-functional-leak

Fixes #543. Bugfix/issue 543 grad functional leak
fixed correlation_matrix_test.cpp
Merge pull request #550 from stan-dev/feature/issue-549-fix-correlation_matrix_test

Fixes #549.
Merge branch 'develop' into feature/optimize_dump_reader