multinomial with replacement
multinomial without replacement, inline code, uses less memory
removed debugging code. added unit tests
added doc
multinomial doc
Merge remote-tracking branch 'upstream/master'
multinomial c89 compliant
merged THGenerator with multinomial
Test class creation
Fix creation of class
adding travis-ci integration
Merge https://github.com/torch/torch7
Merge pull request #23 from jucor/fixclass

Fix creation of class
Merge pull request #14 from nicholas-leonard/master

torch.multinomial
prepare TH for git subtree: remove directory
Squashed 'lib/TH/' content from commit 7a903fa

git-subtree-dir: lib/TH
git-subtree-split: 7a903fae5d6f7d195b7a8c7f9e779c00548fe63f
Merge commit 'da172cd8703163ec69f6bd2dfea9fe1357db67bf' as 'lib/TH'
prepare TH to git subtree: merge recent work

Conflicts:
	lib/TH/generic/THStorage.c
	lib/TH/generic/THTensorRandom.c
	lib/TH/generic/THTensorRandom.h
added option to mmap storage
added FFI support (storage/tensor cdata/data + apply + map + map2)