Externalize parameter lookups to allow use of templating outside eXist's default app setup (merge of code prepared by Adam).
Update ace version.
Up version to 0.3.7