Fix url-based templates by using promises to retrieve the compiled function

This would fix #1712, where a race condition is causing an exception. The cell template is being retrieved over the network AFTER the columns compiledElementFn is attempted to be used, but the function isn't there yet.