Isomerization patterns and proton transfer in ionic liquids constituents as probed by ab-initio computation