update xpath fn:avg, max, min, sum to return xpath, not python,
values for edge cases of empty sequence, NaN, INF
add DimensionPrototype to context DIM functions, so that saved
EBA forms entry can share same context with multiple facts