change detecting rules and add test
add test
Merge pull request #306 from mimmi20/issue-304

Fixes #304
Merge pull request #307 from mimmi20/issue-305

Fixes #305
Merge branch 'master' of https://github.com/browscap/browscap into json-output-preprocessed