src: wceeprom: Make use of dynamic logging facility
src: log: Implement and use function to initialize logging module
src: main.c: Enable interrupts globally as early as possible

As the UART module requires interrupts to be enabled, they need to be enabled
globally at an earlier stage to prevent logging output to lead to a deadlock
situation.
src: log.c: log_level: Allocate enough memory for array

This makes sure that the array has the correct size, i.e. an element for each
module rather than for each level, which was an error leading to misbehaviour
once elements outside the scope of LOG_LEVEL_COUNT where addressed.