check-out / check-in implementation

- Includes unit test see method
DocumentProviderTest.testCheckinCheckoutDocument
Merge branch 'local-branch-1'