[*] 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 )