formatted Membership, removed uncessary interface
api endpoint framework refactor

Using exceptions (PekWebException and co) for recoverable application
errors, for example when an entity is not found.

Using a central response wrapper for wrapping successful request in
a PekSuccess instance (to have a unified response structure). This allows
us to return _bare_ values from api endpoint methods.