Change `resource-columns`, et al, into maps that include the table names
Change `resource-columns`, et al, into maps that include the table names

In my previous commit I had changed one of the SELECT statements
to include a hard-coded list of fields (w/table names) rather than
letting it refer to the `resource-columns` set that it had been
using.  We decided that this introduced a risk of those getting
out of sync with one another, and that it would be better to
change `resource-columns` into a map that contained the table names
for each field.  This commit does that, and then modifies the other
places in the code that were using the `columns` sets to work with
the new maps.

rbrw/puppetdb,waynr/puppetdb,grimradical/puppetdb,grimradical/puppetdb,johnduarte/puppetdb,waynr/puppetdb,kbarber/puppetdb,kbarber/puppetdb,grimradical/puppetdb,cprice404/puppetdb,shrug/puppetdb,mullr/puppetdb,mullr/puppetdb,rbrw/puppetdb,rbrw/puppetdb,puppetlabs/puppetdb,wkalt/puppetdb,melissa/puppetdb,jantman/puppetdb,mullr/puppetdb,shrug/puppetdb,puppetlabs/puppetdb,kbarber/puppetdb,puppetlabs/puppetdb,highb/puppetdb,wkalt/puppetdb,senior/puppetdb,jantman/puppetdb,jantman/puppetdb,wkalt/puppetdb,puppetlabs/puppetdb,highb/puppetdb,shrug/puppetdb,kbarber/puppetdb,puppetlabs/puppetdb,johnduarte/puppetdb,kbrezina/puppetdb,kbrezina/puppetdb,wkalt/puppetdb,senior/puppetdb,johnduarte/puppetdb,johnduarte/puppetdb,highb/puppetdb,grimradical/puppetdb,waynr/puppetdb,kbrezina/puppetdb,kbrezina/puppetdb,mullr/puppetdb,highb/puppetdb,melissa/puppetdb,senior/puppetdb,rbrw/puppetdb,mullr/puppetdb,ajroetker/puppetdb,rbrw/puppetdb,cprice404/puppetdb,waynr/puppetdb,cprice404/puppetdb,senior/puppetdb,ajroetker/puppetdb,ajroetker/puppetdb,melissa/puppetdb,shrug/puppetdb,ajroetker/puppetdb