Here is how I would attack such a question. You need to find a polynomial equation satisfied by$~D$ first. You could use the characteristic polynomial for that (by the Cayley-Hamilton theorem), but knowing that such a polynomial of degree at most$~3$ exists, you can also just try to find a relation between some powers of$~D$. The sparse second line suggests right-multiplying powers of $D$ to $(0~1~0)$, giving the sequence $(0~1~0),(-1~0~0),(2~{-}5~{-}4),(3~{-}6~{-}4)$. The first three are clearly linearly independent, and the fourth one gives the relation $(0~1~0)-(-1~0~0)-(2~{-}5~{-}4)+(3~{-}6~{-}4)=(0~0~0)$, so your polynomial equation should be $I-D^1-D^2+D^3=0$, which you can check to be true. Now $X^3-X^2-X+1=(X-1)(X^2-1)=(X-1)^2(X+1)$. Indeed your matrix is not diagonalisable because of the double root.
To compute $X^{2013}$ you can take its remainder$~R$ after division by $P=(X-1)(X^2+1)$, so that $X^{2013}=PQ+R$ for some (quotient)$~Q$. For finding the remainder after division by a polynomial with such easy (complex) roots as $P$ has, the standard trick to avoid doing a (very) long division of polynomials is write the remainder as a polynomial of degree${}<\deg P=3$ with unknown coefficients: $R=aX^2+bX+c$, and evaluate the equation $X^{2013}=PQ+R$ at the roots of$~P$; since these substitutions annihilate the term $PQ$ regardless of$~Q$, they give you linear equations in $a,b,c$. The problem here is that you have only two roots $1,-1$ to substitute, although $1$ is a double root of the minimal polynomial. There is another trick to solve this shortage of equations: since $1$ is also a root of the derivative $P'$ of$~P$, you can take the derivative of the equation (being an identity of polynomials in$~X$, this gives an equation that must still hold) giving $2013X^{2012}=P'Q+PQ'+R'$. Now substitute $X=1$ into that to get a third equation that will let you solve $a,b,c$. The answer is $aD^2+bD+cI$.