Allow ParsedTemplate as partials

The current engine only allows unicode strings as partials; using a pre-parsed template provides a fairly significant performance benefit.

Included a test to verify this as working.