Implemented a table directive that allows for sorting and pagination.

From: Thomas Rampelberg <thomas@saunter.org>
Review: https://reviews.apache.org/r/16787