REDCORE-229_error_messages_while_install_via_folder

and few fixes leftover from new joomla 3.6