Refactored head/dept lock api
Merge pull request #11 from OpenROV/feature/deadmanswitch

Refactored head/dept lock api