Fleshed out the headnode api a bit.

The module is now a number of stubbed functions/classes with docstrings.
Merge branch 'master' of github.com:CCI-MOC/moc-public