Added more unit tests. Added name to Logger. Fixed LoggerContext.

Unit tests should now cover functionalities of all core classes.

The Logger name was not saved, but should have been.
The LoggerContext was not properly checking the logger parent level
against the log event level.