added functionality to the Pimcore_Resource_Wrapper that allows you to append "try" to every method (eg. tryInsert()) to disable error logging in Pimcore_Resource::errorHandler(). This is especially useful if you try to insert contents first, if that fails try to update them. This is currently used in documents, assets, backend search, object folder, ...

git-svn-id: http://www.pimcore.org/svn/pimcore/private/core/trunk@2650 1f8fe7d8-47f0-464c-8d0a-336f4953ab05
get rid of _oldPath in Asset, Object & Document

git-svn-id: http://www.pimcore.org/svn/pimcore/private/core/trunk@2651 1f8fe7d8-47f0-464c-8d0a-336f4953ab05
RestClient: throw exception when status code is not 200

git-svn-id: http://www.pimcore.org/svn/pimcore/private/core/trunk@2652 1f8fe7d8-47f0-464c-8d0a-336f4953ab05
added insertOrUpdate method to Pimcore_Resource_Wrapper to allow "insert on dublicate key update" statements + added example in Asset_Resource

git-svn-id: http://www.pimcore.org/svn/pimcore/private/core/trunk@2653 1f8fe7d8-47f0-464c-8d0a-336f4953ab05
PIMCORE-1925 - Deleted document gets twice into the recycle bin

git-svn-id: http://www.pimcore.org/svn/pimcore/private/core/trunk@2654 1f8fe7d8-47f0-464c-8d0a-336f4953ab05
PIMCORE-1924 - Implement insertOrUpdate() in Pimcore_Resource_Wrapper

git-svn-id: http://www.pimcore.org/svn/pimcore/private/core/trunk@2655 1f8fe7d8-47f0-464c-8d0a-336f4953ab05