Work around Twitter hashtags bug

Bug detail here: https://twittercommunity.com/t/intent-clicked-from-within-uiwebview-in-twitter-ios-app-ignores-hashtags-parameter/24096

Also misc code cleanup.