fix faulty true case when checking if a project has grant
fix issue with lookup of undefined setting and change disable to toggle
add grants_active setting and tests