Added 5th and 6th version.
Added tests for a 5th and 6th version of append_n_sstring.
Removed all the versions except for the 4th one.

The 4th version is the normal version now as it's the fastest one going by the tests.
Made sure there is always enough memory for the new string in append_n_sstring.
Made sure '\0' is always appended.