Moving the endpoint name to the audit behavior
Added and option to InsertBefore to noth throw
Removing the obsolete gateway persistence so that storages doesn't need to
implement it
Fixed tests that where checking the wrong thing
Fixes a bug in the endpoint runner that caused a null config to be passed