Added support for CSS selectors if cssselect is installed
Corrected incorrect handling of strings