Add border to bottom of tables which lack a tfoot

Closes #1806
Add EJ to Metric.autoscale_value

Closes #1803