Remove code duplication, show noderef at /friends/myref etc and NOT /addfriend/myref
Fix not using base64 if asked to in writeToOrdered
Allow base64 in noderefs uploaded via web interface and FCP