Provide synth apps the ability to control adding of all middleware

- Add ability to not hide error responses with 'public' key
- Put requireUncached into separate file