[data structure] string: add static string basic operations / kmp
algorithm /editor applications

Signed-off-by: Xiaodong Wang