Line breaks and indents for DIV tag wrapping

If the user is wrapping the selected with a DIV tag, add line breaks
were needed and indentation as appropriate.
Merge pull request #156 from aharris88/master

Ignore config.php
config-sample.php is now config-template.php
Duplicates config template file on boot

If the config file doesn't exist, create a new one by copying the
template file
Change install info to 757 on backups & lib dirs
Spelling fix - Folders
Remove the child on delete

Instead of just hiding. So we can delete an item and create a new one of
the name name at that dir location without issues.
Reset fileInput and only act if we have file

Reset fileInput back to an empty value after upload (success or fail)
Only if value isn't empty action the upload