Enable again dnn pool grad after fixed it.

@ynd can you review the change related to the pooling?
@abergeron can you review the change related to cdatatype?
I confirm it work with python 2.7. Can you find how to make this work with python 3? I'm leaving now. If needed I can remove this commit from this PR Monday.