Check for local function calls from same module augmentations

This fixes #27
Merge pull request #29 from jponge/wip-localfunc-in-augmentations

Check for local function calls from same module augmentations