Apply PEP8 to user_agent provider

Applied PEP8 to user_agent provider, sorted some lists, and added Windows 8.1 platform token.