Add installation for libcaffe_cu and libproto.

(cherry picked from commit 64fe6bf976a8c517f7fa4733f2a02fb7eb918c58)

Conflicts:
	src/caffe/proto/CMakeLists.txt
Add some utility scripts.

(cherry picked from commit dcc5a107f6cbb4e46baf8a00d7c230808da7c522)
Add CMake support for cuDNN.

Conflicts:
	CMakeLists.txt