Fix return value of flickr store
(cherry picked from commit d6b03a467621f124b06415de8a98b09344e893ee)
make sure that darktablerc is sorted
(cherry picked from commit b026abb68de5f2ac4f1527af8ed501a77f616c8a)
fix memory leak in sorting of darktablerc
(cherry picked from commit 74e830acaa5878b57ade949c48d9ea94994159b9)