Added grunt file for copying library files, karma test framework with requirejs config. Filtered out quads which had centroids outside the polygon, but this caused issues so testing is needed.