Fix the user agent normalization

- MSIE; attempt to perform arithmetic on a nil value
- Firefox version for Sync logs
- Opera mobile naming