Use configured extensions when scraping Gruntfile

Use configured unit test and source file extensions when scraping paths
from Gruntfile.