Move RESTResource.java into internal

Change-Id: I7953934184ab1e76080227bd422408d5334403dc
Make sure to return the full list of edges rather than falling through.
Refs #2397

Change-Id: I85dafd895fafcfa25e52c737ae3e2c5579dc681c
Throw WebApplicationExceptions to get proper HTTP responses.  Refs #2395

Change-Id: I37fd4d7e13a3a3781e81975a19ba48df42397e10