Cleanup locale-related code (bug 1012933)

https://bugzilla.mozilla.org/show_bug.cgi?id=1012933

See comment in `l10n.js`. `server.html` is removed simply because this is confusing to have around.