Updates to TrapperKeeper and Trapdoor

Added caching resolver for saving reverse lookups
Trapdoor now uses Jinja and reuses template env code from TrapperKeeper
Basic layout for trapdoor index page
Updated to latest JS libs
Remove some dead code
Fix some quotes to be consistent