Refactor Inflections#demodulize and improve its documentation