Initial updates to make tests run with Intern 2

Note that intern is now expected to be installed within the dgrid directory.
Convert functional test calls to Leadfoot APIs