Implemented SQL/visit caching. For #37
Merge branch '37-performance-rewrite' of https://github.com/dhumphreys/cfrel into 37-performance-rewrite