Cleanup names of string functions and macros
More doxygen comments for string api
add riot support
port tests to riot