Fix splitting of empty strings on regex with trim: true

Make String.split and Regex.split called on empty string with
trim: true return []. Add testcase for String.split, fix incorrect
testcase for Regex.split.
Unfortunately this won't match if you have options equal to `[trim: true, parts: 2]`. So we should either check for trim inside the function body. :)