fix pkg-config
misc json fixes

generate.py: remove dead code, add assersions, fix inheritance, add swiginclude info
cmake: remove swiginclude info
Merge branch 'develop' of github.com:casadi/casadi into develop