Use builtin startswith and endswith methods in iniparser

Change-Id: Icbcd9d9c2f8ebc5f827772a0d8dbfba3f6c72da3
Merge "Use builtin startswith and endswith methods in iniparser"