more lib/ clean up and documentation

cleaned up and added documentation to the following files:
- lib/constants.js
- lib/util/fsHelper.js
- lib/util/i18n.js
- lib/util/locale.js
- lib/util/pathHelper.js
- lib/util/stringUtil.js