Added routing for discounts api.
Added api test helper.
Added user models. All tests pass.