Initial support for CuDNN R2 (tested only on OSX)
Merge pull request #18 from JobJob/cudnnR2

Initial support for CuDNN R2 (tested only on OSX)