Add simple compile test case for dbn
Review completely how rbm are configured
Fixes
Add assertions
Adapt RBM as well
Introduce universal enable_if and disable_f
Fix CD when momentum not enabled
Review universal enable_if due to FU clang bug
Update test case