Added debug function to find bound entities in templates
Merge branch 'record_rewrite' of https://github.com/libris/kitin into record_rewrite