Merge pull request #1046 from stan-dev/bugfix/issue-866-vars-prefix

Fixes #866. Bugfix/issue 866 vars prefix
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
Merge branch 'develop' of https://github.com/stan-dev/stan into develop
poisson_rng throws exception on lambda >= pow(2,30), along with modified
tests
Changed the definition of the upper bound for the mean, as suggested by
Bob
Lambda Upper bound = pow(2.0, 30.0)
Add var_stack.def.hpp to allow interfaces to use Stan header-only

Copies var_stack.hpp to var_stack.def.hpp and adjusts header guard

Follows pattern in Vandevoorde and Josuttis:

1.  header-only file    .hpp
2.  definitions file    _def.hpp   (includes 1)
3.  instantiation file  .cpp       (includes 2)

To use header only, you include (2). To use standalone, you include (1), but
also compile (3) in its own translation unit and then link it.
Added poisson_log_rng for log-rate parameterized poisson, added tests for neg_binomial_2_rng, neg_binomial_2_log_rng, and neg_binomial_rng overflow exceptions
Merging develop into feature-1053-overflow-poisson-rng

Merge branch 'develop' of https://github.com/stan-dev/stan into bugfix/feature-1053-overflow-poisson_rng
Merge pull request #1095 from ariddell/feature/models-header-only

Add var_stack.def.hpp to allow interfaces to use Stan header-only
Added poisson_log_rng documentation
removed unused tests, added constants for bounds, static cast vs. C casts, all for poisson
Merge branch 'develop' of https://github.com/stan-dev/stan into bugfix/feature-1053-overflow-poisson_rng

Merging Bob's commits
Merging documentation update into Bob's code review changes

Merge branch 'bugfix/feature-1053-overflow-poisson_rng' of https://github.com/stan-dev/stan into bugfix/feature-1053-overflow-poisson_rng
fixes #1101. removes make/local from repo and updaes makefile to not require it
Merge pull request #1106 from stan-dev/feature/issue-1101-remove-makelocal

Removes make/local from repo
Updated documentation to include upper bounds for poisson_rng and neg_binomial_rng, etc.
Merge pull request #1098 from stan-dev/bugfix/feature-1053-overflow-poisson_rng

Bugfix/feature 1053 overflow poisson rng
Merge branch 'develop' into feature/issue-822-univariate-normal-distribution-on-sufficient-statistics