Attach Media, Remove Media, Article Permissions Corrected

Article permissions added
Thumb creation added for "Media::add_media()" if file type "picture"
"DOCPATH" added for file & folder checks
"file_helper::glob_recursive" function commented for destroy operation