Refactor survey submit process

- add field to store answer object uids to bypass permission
restrictions and provide quick access via attributes
- more defensice implementation of the client IP storage function