add basic API

currently, the following endpoints are available:
 * /domains/(:domain)
 * /domains/:domain/versions/(:version)
 * /domains/:domain/versions/:version/users/(:user_name_or_user_id)
 * /domains/:domain/versions/:version/families/(:family_name_or_family_id)
Parameters in parentheses are optional