Merge branch 'develop' of https://github.com/stan-dev/stan into develop
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
fixes issues #335 and #533
Merge pull request #539 from stan-dev/feature/issue-335-vect-log-prob

Fixes #335.