Move shell integration submodule to 3.5 branch. Base64 encode ssh integration commands. Fix various bugs