gen_misc.py python3 changes
gen_misc.py python3 changes

- ConfigParser
- StringIO
- Modify use of "long" which is not supported in python3

Change-Id: Ifa6ade055f87154e8efa492b27c0c8ad98357215
Signed-off-by: Michael Walsh <10404802c7de463f402c4a18638106ca1b12ef61@us.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation