Added own implementation of string-suffix-p if function is undefined
This allows the tests to be run against versions <24.4
Altered the grunt-resolve-registered-tasks function
Now less flaky against single/double quotes