Fix infinite loop when rev mode implementation of gamma_p overflows
update pdflatex options

- fixed typo in option interaction so that the manual compilation does not wait for user input.
- added option -file-line-error which allows emacs compile to pick out
  error messages
Merge pull request #1134 from stan-dev/bugfix/issue-1133-fix-pdflatex-options-in-make

update pdflatex options
Add environment stancode, put all Stan code in that environment
Merge branch 'develop' into feature/issue-674-overflow_gamma_p_derivative
Added comment describing asymptotic behavior
Merge pull request #1136 from stan-dev/feature/issue-1135-manual-stancode-environment

Add environment stancode, put all Stan code in that environment
fixed the definition of gamma_p
Merge pull request #1137 from stan-dev/feature/issue-674-overflow_gamma_p_derivative

Fixes #674. Feature/issue 674 overflow gamma p derivative
Merge remote-tracking branch 'origin/develop' into feature/partial-inits
add test for initialize_state
just a few more tests for rm_indices_from_name