[*] FO : Performance Mobile detection

The mobile/tablet detection need to be done only one time because the Mobile_Detect depends on quite a lot of regular expressions. ( whith this commit, you gain about 100 calls to str_replace and preg_match )
Merge pull request #2231 from 123monsite-regis/patch-3

[*] FO : Performance Mobile detection