Display Search Block in template
I was using the wrong hook as suggested by kevin. The hook to be used there was bootstrap_preprocess_menu__main .... It all became cleared after reading this comment https://api.drupal.org/comment/62602#comment-62602