Small improvements to str_cat
closes #11435 
closes #11334.

Added some doc examples to make the behavior with `nan` more clear, and catch an error condition when a `sep` is passed instead of an `others` (array) as an argument and print a more intuitive error message.
