Get Firefox profile directory with Python (Linux and Windows)

Piece of code used in Basico (util.py module) to get the default user’s Firefox profile directory. This profile must have the SAP Passport imported in the Certificate store.