WIP.  Custom template tag in.  Functional but had to hack to deal with eval context issues.  Also query is MUCH to technical.
WIP.