PR for #651: Interface for link shortener. 

addresses linesdotcom/lines#651