Pass function flags from parser scope to code objects.

This will allow to access flags like VARARGS, VARKEYWORDS which are needed
to peroperly handle arg passing in calls.

First step towards resolving #295.