Changed the on content load direct method call to event

This change allow extending the on content load easly.
fixes #3274 moved config template to the new two-pane and add full screen editing
fixes #3140 - API to allow importing of puppet classes
fixes #3138 - move CR library loading into initializers, only show available providers
fixes #3266 - ensures there are no duplicate notifications
fixes #3364 Add option to disable automatc host creation when a report is received
[REFACTOR] fixes #2967 - refactored Fact Importer

Based on Dmitri Dolguikh <dmitri@appliedlogic.ca> original patch.

- renamed original fact_importer class to fact_parser class
- moved fact handling logic to its own fact_importer class
- fact importer now assumes single-value facts
- added a uniqueness constraint on fact_values table on fact_name_id and host_id
- added tests
refs #2967 fact deleted counters did not propagate correctly.
fixes #3140 continue - apipie params fix
fixes #3279 roles edit page is long and missing a filter
Fixes #3350 - Adds title on login page
fixes #3267 - API v1 compatibility for /api/hosts
refs #2792 - Adding comments to pxe templates
fixes #3256 - include members in usergroup show
Fixes #3481 - Don't have to set a hostname for each interface, but it must be unique if it is set.
fixes #3486 - Make sure loading text is removed when chart data appears.
fixes #3498 - update to Rails 3.2.15
Fixes #3495 - foreman-cli meta-package should install hammer
fixes #3538 - workaround for broken #pluck on lower Rails versions
fixes #1830 - auto assign puppet proxy if its not defined upon facts/reports event