Make URL Shortener plugin use configurable max_length

closes #1