Change the last two args of split/rsplit to 'limit' and 'keep' keywords

Fixes #6412.

cc: @StefanKarpinski 

Another change that would probably go along with this is having `replace(str, pat, replacement; limit=0)` 
Positional and keyword arguments should be separated by a semicolon.