added content of validation library.
all content with some code convention fixes from bluetree 2.0 simple_valid library v0.7.0