Add fileExt, importOption options, use global less

* fileExt option to specify default file extension
* importOption option to set the way of resource importing
* ability to use preloaded global less
* ability to use global less configuration
* adaptation to curl configuration