The gig economy reflects a rising tide of workers willing to trade traditional job security for the allure of flexibility and control.