Hints:
As usual, to show that $S$ is a subspace of $P_3$, prove that the following hold
$\ \ $1) $S$ is non-empty.
$\ \ $2) $p\in S$ implies $\alpha p\in S$ for all $\alpha\in\Bbb R$.
$\ \ $3) $p_1,p_2\in S$ implies $p_1+p_2 \in S$.
For 1), you just need to find any polynomial $p\in P_3$ with $\int_0^1 p(x)\, dx=0$. For 2) and 3), use the linearity of the definite integral.
For a basis of $S$, note that the dimension of $S$ is at most 4. Since there are polynomials in $P_3$ that are not in $S$, the dimension of $S$ is in fact at most 3. Now try to find three independent vectors in $S$. A hint here: how can you modify $p(x)=x^n$ so that its definite integral over $[0,1]$ is 0? For example, take the polynomial $p(x)=x$. We have $\int_0^1 x\,dx={1\over2}$. So, $p$ is not in $S$... But, $x-{1\over2}$ is in $S$.
An alternate approach towards finding a basis of $S$, if you can't appeal to dimensionality arguments, is the following:
Assume $p(x)=a+bx+cx^2+dx^3$ is in $S$. Then
$$
0=\int_0^1 p(x)\,dx = a+{b\over 2}+{c\over 3}+ {d\over4}.
$$
It follows that $a=-{b\over 2}-{c\over 3}- {d\over4}$. Thus, we may write:
$$\eqalign{
p(x)&=\textstyle \bigl(bx-{b\over 2}\bigr)+\bigl(cx^2-{c\over3}\bigr)+\bigl(dx^3-{d\over 4}\bigr)\cr
&=\textstyle b\bigl(x-{1\over 2}\bigr)+c\bigl( x^2-{1\over3}\bigr)+d\bigl( x^3-{1\over 4}\bigr).\cr
}
$$
Using the above, you should be able to find identify three independent vectors in $P_3$ and argue that they span $S$.