Issue #2121175 by Codenator, tim.plunkett, cosmicdreams, jayeshanandani, grom358, ianthomas_uk, Xano: Remove usage of drupal_get_form().
Issue #2166915 by ianthomas_uk, sun | plach: Remove uses of deprecated language functions in tests and procedural code.