added precedence test, exp vs index operator, test fails
fixed bug, model compiles, runs, verified cacluations by hand
Merge pull request #837 from stan-dev/bugfix/issue-835-fix-exp-precedence

Fixes #835. Bugfix/issue 835 fix exp precedence