Tweak string assignment-strcpy-strncpy and concatenate-strcat-strncat declarations.
Implement -n- versions correctly.
Refactor to include string_res layer.
Add missing tests.