Fix deprecated PLUGINLIB_REGISTER_CLASS macro
Modified .gitignore