ImagiNet: A Multi-Content Dataset for Generalizable Synthetic Image Detection via Contrastive Learning