Allow Name/Arity syntax in map terms inside module attributes.

Currently Name/Arity syntax is supported in list and tuple terms. This change makes it possible to use this syntax in map terms for consistency and convenience.

Example:
-custom(#{test1 => init/2, test2 => [val/1, val/2]}).