[WIP] l10n alternative

These were taken from:

https://github.com/toolness/friendlycode/blob/gh-pages/js/inline-l10n.js

and

https://github.com/toolness/friendlycode/blob/gh-pages/test/test-inline-l10n.js

respectively. They were modified to support node.