added modulized functions in generating reStructured text by generate-rst.py.
added template directory. The python script (generate-rst.py) generate real rst files into the targeted directory based on the template files. The template files provide a static texts with the %(python_variable)s variable replacement.
refactoring genereate-rst script