pathToId stored procedure: don't fail if path is not unique, just pick the first result - this might be legit if the same content is linked (by accident) multiple times to the same node

git-svn-id: http://svn.flexive.org/repository/flexive/trunk@3022 d35d4baa-7912-0410-b0ae-edacad209e15
Flat storage: performance improvements

git-svn-id: http://svn.flexive.org/repository/flexive/trunk@3023 d35d4baa-7912-0410-b0ae-edacad209e15