Improve support for escape sequences in attribute selectors, solves issue #87 (@Joris-van-der-Wel)