Define shortcut functions through macros

An include file is used, invoking the macro ?METHOD_TPL/1 with every
method which should have a shortcut. This file is then included three
times, first for export attributes, second for the Method/1 shortcut and
finally for the Method/2 one.