remove trailing slashes on API URLs

ngResource does not accept trailing slashes on URLs and will auto-remove
them.  There is an option for it not to do this in 1.3, which is
currently in beta.  This is silly, because those trailing slashes really
are the convention everywhere but Angular-Land apparently.
remove defunct routing
clean up commented-out code, long lines and whitespace
consistent names for tests
replace now-bad urls with url_for calls
remove url trailing slashes from API docs
make unit test paths match source paths
return second-level arrays from top-level objects on query URIs