name search: trim `-` invalid characters xibosignage/xibo#2344
name search: trim `-` invalid characters xibosignage/xibo#2344

(cherry picked from commit 51fa3399d7fde7722e7b47c38f39db7713d8a521)

alexharrington/xibo-cms,xibosignage/xibo-cms,dasgarner/xibo-cms,dasgarner/xibo-cms,alexharrington/xibo-cms,dasgarner/xibo-cms,xibosignage/xibo-cms,alexharrington/xibo-cms,xibosignage/xibo-cms,xibosignage/xibo-cms,xibosignage/xibo-cms,dasgarner/xibo-cms,alexharrington/xibo-cms,alexharrington/xibo-cms,xibosignage/xibo-cms,dasgarner/xibo-cms,dasgarner/xibo-cms