Refs #4611 - rake-ify foreman-config and db_pending_migration/seed in settings

This way, we can determine in the installer if the rake
db:migrate/seed should be run in the installer.

Later, we also could use this information to inform the entering user
that the application is not in ready state yet: preparation for
maintenance page.
fixes #5922 - compute resource #random_password to use SecureRandom()
fixes #7772 - avoids multiple ajax requests

the two-pane (and others) triggers the onContentLoad event, removing the
data attribute from the DOM will ensure its not loaded more than once.
Refs #3809 - Remove rubocop TODOs

Removed the following TODOs so that cops for these will run from now on:

Lint/AmbiguousOperator, DefEndAlignment, DeprecatedClassMethods
EnsureReturn, RequireParentheses, Void, BlockAlignment, EndAlignment,
UselessAccessModifier,

Style/IndentArray, IndentHash, Tab, UnlessElse, UnneededPercentQ, UnneededPercentX
RedundantReturn

Rails/Validation
Refs #3809 - Fix a few rubocop TODOs
Fixes #5468 - prevent Chrome from autofilling passwords
Refs #3809 - Use parentheses in method definitions
Refs #7639 - i18n fixes

https://github.com/theforeman/foreman/pull/1799 was merged but Libvirt form tags were not i18n'ed.
Fixes #7401 - Add support for bonds

Renames physical_device to attached_to and move the virtual device
form out of BMC.
Extends the form for Bond devices
Allow configuration of bonds in KS template
Parsing of Bond interfaces from facts
Mac address is required only for physical devices
Fixes #4369 - Added link to filters page on RBAC form

Load filters table in roles UI via ajax
Fixes #5139 - leftovers subscribe_to_all_hostgroups

Remove user_xxx unnecessary tables and notices

Update subhostgroups removed

Fixes for migration of foreign keys

Remove users from compute_resource fixture

Remove table notices after fk are removed for pg/mysql