Bug 574403: Direction of formal parameters ignored
Bug 574403: Direction of formal parameters ignored

When copying a formal parameter, the direction should also be copied.
This fix might also fix other bizarre issues related to copying formal
parameters.

Distrotech/vala,GNOME/vala,jessevdk/vala,GNOME/vala,Distrotech/vala,frida/vala,rvu95/vala,severinh/vala,Jc2k/vala,phako/vala,themiwi/vala,flobrosch/vala-fixes,flobrosch/vala-fixes,jessevdk/vala,themiwi/vala,Jc2k/vala,frida/vala,phako/vala,spidermonkdust/vala,Distrotech/vala,GNOME/vala,tjol/vala-tjol,kamanashisroy/aroop,playya/vala,lovebug356/vala,spidermonkdust/vala,rvu95/vala,spidermonkdust/vala,severinh/vala,playya/vala,themiwi/vala,frida/vala,GNOME/vala,lovebug356/vala,frida/vala,tjol/vala-tjol,frida/vala,tjol/vala-tjol,xdave/pvala,jessevdk/vala,kamanashisroy/aroop,flobrosch/vala-fixes,severinh/vala,rvu95/vala,playya/vala,kamanashisroy/aroop