Refactored ComparatorExtensions into the xtensions project
Added URL encoding to URL parameters.
Now using Google's Optional class for methods that could have previously
returned null.