Add documentation
Merge branch 'add_documentation'
Refactor register
Update kIndexTicketMax on resize
Add perform_semop()
Fix warnings
Add documentation for Semian::InternalError