General Inlining of Static and Dynamic Functions.

 * Functions are inlined if they are
    - non-recursive,
    - small enough (configurable with the `INLINELIMIT` option).
 * The static context is now stored in the AST nodes that need it, not in the `QueryContext`.
 * `QueryModule`s can access the static context via the static member `QueryModule#staticContext`.