ported batch_rename.pl to python script, made some use of python-speific attributes. imporvement needed especially in documentation and cleaning input. potential areas of python specific code