Fix logging formatting to use %s instead of {n}
Fix logging formatting to use %s instead of {n}

One or more logging mesages was causing a logging
format error.
Also fixed some pep8 issues

Change-Id: Ieaef19565bdaa8c7601a02e872020a42fd1f4ce1
Closes-Bug: #1485986

huntxu/fuel-web,SmartInfrastructures/fuel-web-dev,stackforge/fuel-web,SmartInfrastructures/fuel-web-dev,SmartInfrastructures/fuel-web-dev,stackforge/fuel-web,huntxu/fuel-web,eayunstack/fuel-web,huntxu/fuel-web,huntxu/fuel-web,eayunstack/fuel-web,SmartInfrastructures/fuel-web-dev,huntxu/fuel-web,eayunstack/fuel-web,stackforge/fuel-web,eayunstack/fuel-web,SmartInfrastructures/fuel-web-dev,eayunstack/fuel-web