Added support for new option LISTINGS_FOLDERS.
Fixed ReST listing directive.