Commit adds Ajax functions to buddypress-functions.php, adds no-body class function missing and re-instates add_action, adds ajax head script function & add_action.

Add BP JS - ad small function to test for html5 'autofocus' support provide fallback by class name to add .focus() for non support; allows removal of in page JS scripts ( messages > compose)