Use bitmask values for LogLevel constants
Keep our own definitions of severity, but use bitmask numbers like in http://www.php.net/manual/en/errorfunc.constants.php
- Would allow us to use the bitwise operators
- Could be that we gain some microseconds in speed.
(idea from T3DD12 workshop)