DERBY-6117: Add a context-aware table function which could be used as an example in user docs; commit derby-6117-03-aa-ArchiveVTI.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1563944 13f79535-47bb-0310-9956-ffa450edef68