Fixed `[]' for nil:NilClass bug for parsing Opera browser string

This resolves issue #81 where the user agent string comes from an old samsung phone, "sch-u485". The code now handles the string correctly and gracefully returns nil if any errors. Tests are included, and all tests are passing.