Sync device detection with MobileFrontend

X-Device is not used anymore, X-WAP is detected as easily as possible

Change-Id: Iea8a79365da9a01f1bc17bab00b4f2b0e00c0e4f
Merge "Sync device detection with MobileFrontend" into production