California city of Stockton has become the most populous US city ever to enter bankruptcy protection after a judge has…