Create pygenericroutines.py

A module having some useful routines required by command line automation tools I create.