Fixed a bug in ResolveUrlSegments.

ResolveUrlSegments would add include_retweets and include_entities even if those were already in the segments list. I've created a function so those two parameters are only added if they weren't already set.