Rearranged "core services" section to contain docs for all JS functions.

Plugin stuff will go in a separate documentation section, and maybe eventually
be moved to the plugins themselves.