Object <--> byte[]. New setting type. Unit test refactor.

Added implementation of Object <--> byte[] in ByteArrayExtension.
Added new setting type: Object.
Updated and refactored some unit tests.