Patch and unit tests added for 'GetComputedStyle crash'

I've added a unit test for the "GetComputedStyle crash." The unit tests will fail if no validation is done on property selectorText. 

The patch of @haraldrudell is included in my branch.