Refactor common functions into models

- Use minimongoid validate, filters, helpers
Implement auth, writes, deletes in API v2

- Update 'reststop2'