Protesters' jubilation at Ferguson police chief's resignation quickly gave way to angry chants of "Racist cops have got to go" and gunfire.