bring back iterative uri normalization from 6006238a
convert URLUtils to java since this contains hotspots
don't allow ../ or /.. in the uri
tune iterative normalization to stop looping when input doesn't change
use Grails 2.3.11