Fix Twitter crossposting (#2758). Refactor some service posting related code.
Merge pull request #4187 from jaywink/2758-twitter-crossposting

Fix Twitter crossposting by correctly calculating URL shortening