Fixing captalization problem using npm package inflect instead of node-inflector

- replacing node-inflector to inflect
- I also wrote some tests to cover it.

Please consider it. Thanks!