Parse function names with nested vars

For instance, pkg_postinst_${PN}

Fixes #3
Merge pull request #4 from staticshock/function-names

Parse function names with nested vars