Make conflict document id public
Add tasks
Rename DocBulk to Bulk
Improve public interfaces of Server and Database
Refactor tests

- Use dedicated package, test public APIs only
- Add test for continuous replication