i18n implement
I implemented a naive i18n() function. I am not expecting it to merge immediately.I didn't know enough of php and js, so there lack of configuration and user choice. Help is needed. But for anyone interested in using this patch as it is, it can translate user interface to another language. For now only zh-hans is there. You need to translate your self, and replace translate js file.
How it works: It is using object defined in a js file, and look up for the value of input string.
To generate a template for the translation, I write a script (sorry for using powershell as I'm in a Windows system, it should easily done with a bash script.) It search every i18n() function call and generate a js template file with every entry not translated.
Related to issue #27 @Drachenkaetzchen