Fix null words in titleize

An exception was being called when titleize could not find any words in the str. 

Also handlebars 2x breaks the tests. I'm not sure if it also breaks the library. This should be looked into.