Reset flash_array when viewing screen off off vm summary screen.

Reset flash_array so flash message is not displayed when clicking on links such as Snapshots/Genealogy/Container/Operating System etc from summary screen after perfomring some actions like "Edit Tags".

https://bugzilla.redhat.com/show_bug.cgi?id=1146249
https://bugzilla.redhat.com/show_bug.cgi?id=1102658
Convert schedule_form partials to haml
Merge hidden_span_if and hidden_div_if

Can now use hidden_tag_if for good and evil
Merge pull request #704 from h-kataria/reset_flash_array_when_viewing_screens_off_of_summary_screens

Reset flash_array when viewing screen off off vm summary screen.
Fix database diagnostics tab

This is to fix the following two problems:
1. Traceback when accessing the diagnostics -> database tab:

Error caught: [NoMethodError] undefined method `display_name' for nil:NilClass
vmdb/app/views/layouts/_edit_log_depot_settings.html.erb:17

2. DB depot selection not working. This was caused by @prev_uri_prefix
being erroneously overwritten by log_depot_get_form_vars() method.

https://bugzilla.redhat.com/show_bug.cgi?id=1145800
Reset value of index if chart is not available.

- Added line of code to reset value of index in @perf_options to fix an issue([] for nil:NilClass error), if user has zoomed in on one of the charts and then changed options such as group by from the options box on the screen and the returning result didn't include the chart user was zoomed in on. With this change user will be presented with all the zoomed out available charts.
- Moved setting of chart_layout variable outside of the if block as perf_gen_chart_layout method might set @perf_options[:index] to nil in case the zoomed in chart is not present for selected options on screen.

https://bugzilla.redhat.com/show_bug.cgi?id=1144622
https://bugzilla.redhat.com/show_bug.cgi?id=1145741
Merge pull request #680 from h-kataria/fix_nil_error_when_changing_group_after_zooming_chart_in

Reset value of index if chart is not available.
Merge pull request #717 from eclarizio/convert_schedule_form_erb_to_haml

Convert schedule_form partials to haml
Merge pull request #738 from mzazrivec/fix_database_diagnostics_tab

Fix database diagnostics tab
Merge pull request #748 from kbrock/hidden_div_if

Merge hidden_span_if and hidden_div_if
Add support for Version 5 XFS filesystems

This includes adding CRC fields to several on-disk
data structures including directory headers, as
well as allowing for a filetype field in the directory
entries.

Rubocop warnings in the code were fixed as well as
style issues pointed out by reviewers.