Fix build error caused by pthread lib order

https://github.com/BVLC/caffe/issues/1327
Merge pull request #1332 from tleyden/master

[fix] set pthread last in build order
[docs] cite the arXiv paper
[docs] BVLC Caffe acknowledgements
[docs] re-title docs, count forks
compile for compute capability 5.0
Add CHECKs to prevent segfault for incorrect IMAGE_DATA layers.

Incomplete IMAGE_DATA layers cause a segmentation fault, e.g.:

layers {
  name: "mnist"
  type: IMAGE_DATA
  top: "data"
  top: "label"
  image_data_param {
    batch_size: 100
  }
  include: { phase: TRAIN }
}

or

layers {
  name: "mnist"
  type: IMAGE_DATA
  top: "data"
  top: "label"
  data_param {
    source: "./data/train.txt"
    batch_size: 100
  }
  include: { phase: TRAIN }
}

Also empty image list files cause a segfault.
This is fixed by adding 3 CHECK instructions.
Merge pull request #1551 from schenker/fix_image_data_layer_segfault

Add CHECKs to prevent segfault for incorrect IMAGE_DATA layers.
Use valid MathJax delimiters.

MathJax does not support $ as a delimiter by default, so math was not
displayed properly on the “Forward and Backward” page.
Fix minor typos in strings.
Merge pull request #1607 from kjkjava/master

Use valid MathJax delimiters.
merge