Changing UrlValidator to verify text and binary files differently.  Moved TextUtil to base-services so it can be used from internal-testing.

+review REVIEW-5272
Fixing issue with routes compiler not generating correct routes.

+review REVIEW-5272