Refactoring.

- Move .inputrc to bash directory.
- Create a function in Makefile for linking .inputrc.
- Place the function StripTrailingWhiteSpaces() before sourcing custom
  configurations and put its call in resCur group.