The decision by Moody's credit rating agency to downgrade Israel's rating and outlook last week was a shock to the country after decades of growth and a rosy outlook for the future as its technology-driven industries flourished.