Fixed non-functional optimistic locking for
work_package editing
Added missing tests
Merge pull request #617 from opf/fix/concurrent_wp_edits

Fixed non-functional optimistic locking for