Some fixes

  * Limit replication to avoid crashes
  * Doesn''t copy view for first replication
  * Sort file/folder in server (instead of client)
  * Change pictures/device folder management to avoid conflict
  * Debug pb to display tree at beginning (force scroll)