Feature/issue 80 stan integration

This updates Stan so it compiles using the updated develop branch.

Updated stan_fit.hpp so it calls stan::gm::compile with the right number of arguments and updates to BFGS.