Add browsertests for snaktypes

Bug 67364
Workaround inconsistancy with element.click and element.fire_event('onClick')

Also fixed this for rank selector.
Also fixed css selectors.
Merge pull request #30 from wmde/snaktype_tests

Add browsertests for snaktypes