Fixed double site_root in header.tpl

Removed double insertion of site_root as inline script. It could confuse
people/javascript scripts.
Merge pull request #19 from LeShadow/master

Fixed double site_root in header.tpl
Fixed small error in the remove-friend API call.