Converting dojo/cookie DOH test to Intern

Since this is a functional test, `registerSuite()` needs to be passed a function that returns an object so each functional run gets its own scope. Otherwise, all functional runs will share the same `remotePromise` and `pagePromise`.