Detect mobile browser

We use the same rules to show the beta banner and redirect the user in project show and contribution pages