date - fix robustness to empty text values in table of data

This commit fixes tablequeryjs to be robust to tables of data
with blank values. This broke the datetime parsing and caused
unexpected results when detecting numbers. This commit also
adds some robustness tests to make sure this doesn't regress.