Attribute endpoint

Summary: transition attribute endpoint to new architecture

Test Plan: `bin/tests`

Reviewers: rjmackay, shadowhand

Reviewed By: shadowhand

Maniphest Tasks: T853, T851

Differential Revision: https://phabricator.ushahidi.com/D487