Support --config for html report

Version:   2014.1009.12
Change-Id: I1d0b3e1080ec1ccb6345675ae6dcb47eb80587ab
Fix "undefined variable" error

Version:   2014.1009.13
Change-Id: I6ed8579dbdb20af2b6c886dc6375fd66ad233427