HACK: Update template dialog for Parsoid's url -> href change

Also need to strip ./ and ../

This is a dirty hack, Timo to clean this up

Change-Id: I7f377d916b90f5cdecfcd77a6d5276747a543761
Merge "HACK: Update template dialog for Parsoid's url -> href change"