Assert that lo "<=" hi (expressed in comp) to clamp() and add tests (Thanks to Niels Dekker)

Workaround to use assert in constexpr function by Casey,
http://stackoverflow.com/questions/18648069/g-doesnt-compile-constexpr-function-with-assert-in-it#comment27482982_18648361