multinomial with replacement
multinomial without replacement, inline code, uses less memory
removed debugging code. added unit tests
Merge remote-tracking branch 'upstream/master'
multinomial c89 compliant
merged THGenerator with multinomial
prepare TH to git subtree: merge recent work

Conflicts:
	lib/TH/generic/THStorage.c
	lib/TH/generic/THTensorRandom.c
	lib/TH/generic/THTensorRandom.h