Reversed order of evaluation of stylesheets

Stylesheets are iterated backwards to conform to default stack like
behaviour of CSS rules.
Adds [].reverse to $.jQuery.fn if not already exists.
Added doxygen comments.