Added shared historyhandling.

The history from one bash sessions is now shared over all bash_sessions.
Taken from: http://unix.stackexchange.com/questions/1288/preserve-bash-history-in-multiple-terminal-windows