This patch exposes the internal bmesh function "BM_Face_calc_plane" (used to create negative Y axis for the normal transform orientation) in the python API. This would be useful for python scripts that need to align objects to the faces of a mesh.
The function can be accessed like this:
BMFace.calc_plane() # Returns a Vector representing the negative Y direction along the face
