Data processing bug fixes

There were some problems with assinging the correct pdb and resolution to files.
This fixes those issues so we always have consitent and clear data.
Code cleaning
Call addDefinitions in correct context

We should call addDefinitions in the context of the heatmap itself. This change
fixes things so we now do that.
Check if there is no resolution and store null

This occurs when dealing with modeled exemplars. Without doing this we end up
showing a black square instead of the grey colored square for things that are
missing. This commit should prevent such things from happening.
Show NA when no resolution

We shouldn't show null or undefined as a resolution, instead NA is better for
the user. This make such a change.
Remove extra whitespace
Switch row/column ordering

I was using a column first ordering, when I should be row first. This flips that
ordering making things easier to read and understand. Or at least more consitent
with how we normally do things.
Use a handlebars template for hovering

This makes altering and building the popup easier for me. There's a problem in
that if someone tries to hover before the request is done to load the template
then nothing will be shown. This is not ideal and can be worked around I'm sure.
Template tinkering