Issue #1415828 by BJ___, patrickd, nod_, damiankloip: made Tabledrag a library.

PR for https://github.com/backdrop/backdrop-issues/issues/211