Add test case to syntax_tools

The added test case tests a bug when reverting maps in syntax tools.
Fix reverting map in syntax_tools

There was a copy-paste bug in erl_syntax when running
e.g. erl_syntax:revert_forms, affecting maps. Instead of getting
Key/Value you got Key/Key in the resulting abstract form.