Refactoring. Mostly to eliminate repetition in entities.html, but other things too.
IDE config stuff for my convenience.
Added some docs and updated auth to fit those docs, plus some possible performance improvements.
Refactored and added a method for retrieving a single entity from services with the right authorization.