Added plans endpoint support, testing, and docs.
PLATFORM-1055 add referrrals and authorizations endpoints, update tests and inline docs