Merge pull request #1648 from naylor-b/err_msg

added a wrapper function for list_deriv_vars that checks the return value...
Merge branch 'dev' of github.com:OpenMDAO/OpenMDAO-Framework into err_msg