Makefile: cleanup lint/warn report logic (and make the two more consistent)
fix bug introduced by warning logs: errors didn't print because they
are logged to the warnings file
Merge pull request #661 from jeffdonahue/fix-error-output

Fix bug introduced by warning logs (errors didn't print)
Avoid using cudaMemcpy for memcpy when there is no GPU and CUDA driver
Check the GPU mode to decide which memcpy to use
Switch to GPU mode when pointer is move to or from GPU in SyncedMemory
Implement @Yangqing's solution to copy memory in the SyncedMemory
Replace cudaMemcpy with caffe_gpu_memcpy in SyncedMemory per @longjon