Cleaning up regularizer.hpp

Beginning re-write to actually use continuous labels throughout
Adding Assertion macro
Adding test case for smoothEdge
Changing to per-variable numLabels
Fixing minConvolution to use intervals correctly
Adding test for minMarginal
Pulling functions into header file
Adding tests for addUnaries