Fix number of linear/nonlinear/network constraints

Thanks to James Foster <jfoster5@wisc.edu>!
Add test with linear constraints.
Update README.
Merge branch 'hotfix/nlc'