Fix noisy Reform accessor deprecation warnings

    [Reform] Deprecation WARNING: When using Composition, you may not call Form#query anymore to access the contained model. Please use Form#model[:query] and have a lovely day!

See https://github.com/apotonick/reform/blob/master/CHANGES.md#101

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Revert "Feature/api work package embedded activities"
Merge pull request #1532 from opf/revert-1528-feature/api_work_package_embedded_activities

Revert "Feature/api work package embedded activities"
Added embedded activities to the work package resource

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Created activity model
Created representer for activities
Fixed paths to modules
Allowed API to render nil for activity's user
Specified host for the test env
Fixed wrong path in application_helper_test.rb
Minor indentation fix in WorkPackageRepresenter

[ci skip]

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge pull request #1531 from opf/fix/api-reform-deprecation-warnings

Fix noisy Reform model accessor deprecation warnings
Merge pull request #1534 from opf/feature/api_work_package_embedded_activities2

Feature/api work package embedded activities
Scrappy wiring up for hyperagent to get some mockedmocked data into the wp details view.
Removed some fluffy workarounds now that i can access the mock api.
Using $q in stead of q so now details are actually displayed.
looking at actual api instead of mock.
Using forked hyperagent with jquery compatibility workaround.
Fixed a bunch of tests broken by api.
Made some basic test cases for api resource and get wp service.