output changes and python3 compatibility

Modified output to match .sh script
- added headers for sections
- ordered sections and entries
- added colors for status output
- added two footer lines

Added output option
- added argparse
- prints in json forma for "-j" and "--json" options
- prints invalid argugment error for anything else.

python3 compatibilty fix