Move all the static variables used in the autodiff stack into a templated class.
Missing C++ includes to enable some tests to build on Linux.
Don't bother building libstan.a
Merge pull request #1150 from stan-dev/feature/kill_libstan

Fixes #1155. Remove libstan