California, long a pioneer in legalizing cannabis, is intent on giving the industry the legal tools to grow.