Added a possibility to create themes from file system

not only by uploading a tar...

Also added a possibility to create sub-directories in the theme directory (before it was causing an error because those sub-directories were considered to be temlates.