get and set diagonal of coo_matrix, and related csgraph laplacian changes

Needs to invalidate canonical order here: `self.has_canonical_format = False` (now that gh-3646 was merged)