Added a selector parse function
Added a selector parse function

The Style class module now has a helper function which will be used to
parse the selector provided to any of the methods on the class. This
allows for more flexiblility for the input. Currently the parser supports
strings and arrays.

ericcornelissen/htmlarea,ericcornelissen/html-area,ericcornelissen/htmlarea