Add list_spaces

Add list_spaces to the admin API.  The function would allow a client to get a newline-separated string of the list of spaces.