bash: create 'functions.d' directory for functions
bash: Add function to copy terminfo file to remote

Very useful since many machines don't have the rxvt-unicode-256colors or
xterm-termite termcap files installed in /usr/share/terminfo/