Hook name cleanup

Cleanup the hook names before returning them. Removes quote marks,
converts concatenated hooks into {$variable} style hooks. Not perfect,
just works for most current cases.
Combine regexes for standardizing hook names

See #102
Add unit tests for hook name standardization

See #102
Merge pull request #125 from JDGrimes/issue-102

Standardize hook names on export