In another sign that the worst is over for the housing market the number of Americans filing for foreclosure has dropped to the lowest level since 2007.