Room Temperature Ionic Liquids Structure and its Effects on the Mononuclear Rearrangement of Heterocycles