A state of emergency has been declared in California after a massive oil spill along the beaches of Santa Barbara.