Revert "Issue #2171071 by jessebeach, Wim Leers: Remove drupal_add_library()."

Somehow this broke PHPUnit, so rolling back for now.

This reverts commit 91b465bdc5ad880b8a864e3e711d61c0cc0e5247.