The government and several parties in the Danish parliament have entered into an agreement that settles the expensive quick loans that have caught many citizens in unmanageable debt.