erlang: avoid creating an extra fun when calling spawn_link.

This commit replaces some of spawn_link(Fun) and spawn_link(Node, Fun) with
spawn_link(Module, Function, Args) and spawn_link(Node, Module, Function, Args)
respectively.  The latter forms are prefered because of their simplicity.
Merge pull request #511 from pooya/new_spawn

erlang: avoid creating an extra fun when calling spawn_link.