bash: make it more modular and cleaner

- move some stuff from system-wide main into bash.d/
- use += for string appending
- remove duplicated code
- move bash_functions into bash.d/functions.sh
bash: update config concatenator according to new modular bash configs

And also make it more _simpler_.