Move shortcode handling into a new class.
NEW: Add metadata to DMS links.

Shortlink links are now augmented with data attributes containing the
file extension and size.
Merge pull request #35 from ajshort/pull-3

Add data-ext and data-size attributes to DMS links.