directory_extra_parameters and extra_parameters

added directory_extra_parameters that would allow to define parameters inside the Directory block
fixed extra_parameters (it was simply outputting the dictionary in one line)
reversing the dictionaries, as to keep the same order as they are defined