Refactor headerparse.py
Refactor headerparse.py

Removed all references to internal object dictionaries __dict__.  Use the
setattr, hasattr and getattr where appropriate.

lama7/blogtool,lama7/blogtool,lama7/blogtool