remove functionio and getNumScalar{inputs,outputs}

they're no longer in casadi