Add spec for splitting with empty string and multibyte encodings
Split strings on characters for empty split

Fixes a test failure from the Rails ActionPack test suite.
Add spec for setting thread variable on frozen thread
Check for frozen state for thread variables

This also fixes abort_on_exception that tries to set the instance
variable, which will fail if the thread is frozen. Therefore just return
false as the fallback case.