Mobile detection

Re-adds PHP based mobile detection. Allows users to define a separate view for desktop and mobile devices.