titlecasing a string with exceptions,titlecase('i am a foobar bazbar')