Simplified conditional compilation for kernel use

Moved choice of malloc/kmalloc, free/kfree, assert/BUG_ON
into include/ntru_crypto_platform.h

No functional changes. Fixed several bugs in kernel case where
BUG_ON behavior differed from assert behavior.
Merge pull request #23 from jschanck-si/master

Simplified conditional compilation for kernel use