Adding compatibility supports for permalinks.

Be careful to update also silverpeas-setup in order to populate the new permalinks tables during migration