Brazil's senate has passed a law that will limit government spending for the next 20 years.This is seen as a major step by the administration to lift the country's economy out of recession.