API: optimizing now returns a vector rather than a dictionary

This mirrors an API change in RStan. Closes #80
Check for empty parameters and remove them.

Mirrors remove_empty_pars in RStan.
Mirror minor changes in RStan
Follow RStan's refactoring of stan_fit.hpp
Update wrapping of stanc
Update documentation and tests for new optimizing return format
Update optimizing tests