Port of most linking related code from rails
Sections import control mapping function, flash messages, and minor bugs
51925771 Remove the log_events table and LogEvent model.
Story 53824393: Changed control tree to list in program page to show off newly mapped controls in program
51925771 Removed obsolete model, fixed associated behave tests.
Merge pull request #131 from reciprocity/feature/import_base_linking

Map controls to sections on directive import, flash, and fixes.
Removed dependency from controls to directives
54315498 Make sure that expected fields in a permissions object are
present, even if the client hadn't originally sent them.
Merge pull request #134 from reciprocity/feature/program_controls_model

Mapping controls directly to program
Merge branch 'develop' into feature/remove-log-event-model

Conflicts:
	src/service_specs/steps/ggrc_http.py
Merge pull request #136 from reciprocity/feature/better-role-handling

54315498 Make sure that expected fields are present even if they hadn't been
Merge pull request #135 from reciprocity/feature/remove-log-event-model

51925771 Remove obsolete table and model, update related tests.
Merge pull request #137 from reciprocity/feature/controls_should_not_depend_on_directives

Removed dependency from controls to directives
Merge remote-tracking branch 'origin/develop' into feature/import-design

Conflicts:
	src/ggrc/templates/directives/import_result.haml