Now writer can serialize non-object values.

This feature is useful when you want just to serialize some data into some text format. I use it to write leonidia::dynamic_t to std::cout.
User should explicitly set a flag to enable this behavior, so the old code is not broken.