Refactor Inflector#demodulize and improve its documentation