Handle non-mod pub keyword usages in module parser

Fixes #43