gnulib-tool.py: Reorganize code. * pygnulib/main.py: New file, moved here from gnulib-tool.py. * pygnulib/constants.py: Change the way APP['name'] and DIRS['root'] are computed. * gnulib-tool.py: New file, based on gnulib-tool.