add eachBody, eachShape, eachConstraint for cp.Space

#1048 
We should check the existence of jsCpObject. This action may fail