Moved wsse template compilation to function calls.
Moved wsse template compilation to function calls.

This avoids throwing fatal errors upon require in environments where `__dirname` is unreliable (ex: Webpack with target node).
vpulim/node-soap,microchip/node-soap,microchip/node-soap,vpulim/node-soap