In wake of recession, nonprofits get creative, with training programs and for-profit ventures.