Fix tests
Removed deprecated methods, renamed calls to the new methods. Refs #4942
Add new config flag for developers: enable_load_standalone_plugins_during_tests = 1
it can be set to 0 to disable the loading of third party plugins when running tests
Merge remote-tracking branch 'origin/master'