Facebook filed two separate lawsuits in the U.K. and U.S. that the company says is part of an ongoing effort to hold developers that abuse its platform accountable.