use different profile resource-paths to include dev/prod site.configs

this also necessitated a change to how the couchdb table defs are
defined as aot-ing the prod profile caused code to get evaluated
which triggered at-compile-time-loading of site.config, which at that
point the prod resources-paths would not have been merged in causing
compilation errors
switch to highlight.js for client side syntax highlighting