Code sync'd to spec

Most functions are "not implemented" but return debug and error buffers
Added authInfo to all functions
Tests have been redone to be organized around endpoints
Other files have been updated to provide better error response buffers
and to clean up after merge.