added index page setting for pinfo file
added test case for index page param
pep8 fix
Minor fixes
Add changelog entries, use explicit encoding