While the federal government has been pulling grant funding to exploit political divisions, communities like Cambridge are working to keep neighborhoods and people connected by replacing cancelled grants from Washington with alternative sources of funding.