Fixed Android Detection Bug

Android devices now report res.os = 'android' and res.device is 'mobile' or 'tablet'. Change windows phone to report in the same way.