4-Thiazolidinones in Heterocyclic Synthesis: Synthesis of Novel Enaminones, Azolopyrimidines and 2-Arylimino-5-arylidene-4-thiazolidinones