update rewriteStaticLinks utility function(modifiy only relative urls) +...

... fix chrome popup size

STUD-674
@cahrens @singingwolfboy
1) update only relative urls (convert to c4x notation). Don't modify absolute urls (http/https) entered by users.
2) update tiny_mce_popup.js (increase delay for resize of window from 10 to 100). https://drupal.org/node/1705710