extract preloader usage to a new method

the preloader API in Rails has changed.  This commit extracts our usage
to a new method so that when we upgrade, we only need to change one
place.
UI wasn't displaying error messages from import

Fixes #1155
convert default_scope to use blocks

Rails 4.2 only supports `default_scope` with a block.  Rails 3.2 also
supports `default_scope` with a block, so this converts all of our
default scopes to use blocks.  This way our default scopes will work on
3.2 and 4.2
construct the group object before `where` is mocked

constructing the group object will call the default scope to get the
default values for the instance.  Calling the default scope will call
`where` with parameters that the mock doesn't handle, so we should
construct the object first
Fixed code to not allow deletion of locked domains.

Added spec test to verify fixed code.

https://bugzilla.redhat.com/show_bug.cgi?id=1173712
https://bugzilla.redhat.com/show_bug.cgi?id=1176202
Add miqCheckForChanges calls back into navigation tab links

https://bugzilla.redhat.com/show_bug.cgi?id=1176280
https://bugzilla.redhat.com/show_bug.cgi?id=1176281
Merge pull request #1267 from dclarizio/restore_check_for_changes_to_navbars

Add miqCheckForChanges calls back into navigation tab links
add a strategy for applying conditions to MiqQueue

This commit accomplishes 2 things:

1. Removes sanitize_sql_for_conditions
2. Updates finder syntax to work with Rails 4

sanitize_sql_for_conditions is deprecated, so we need to stop using it.
Since we can call `where` twice, there is no need for
sanitize_sql_for_conditions.
Pass :type => :bigint to t.belongs_to to retain 64 bit columns.

When we merged [1] via [2]:

[1] https://github.com/ManageIQ/manageiq/pull/895/
[2] https://github.com/ManageIQ/rails/pull/10

We inherited new behavior: we now are required to specify the :type => :bigint when specifying t.belongs_to and t.references whereas these were always bigint using our prior version of our rails fork.

The t.references was fixed in:
https://github.com/ManageIQ/manageiq/pull/895

This commit fixes t.belongs_to.
Merge pull request #1270 from jrafanie/fix_belongs_to_missing_bigint

Pass :type => :bigint to t.belongs_to to retain 64 bit columns.
Fixed 4 occurrences of "can not" to "cannot".

https://bugzilla.redhat.com/show_bug.cgi?id=1173712
https://bugzilla.redhat.com/show_bug.cgi?id=1176202
Merge pull request #1257 from tenderlove/where_strategy

add a strategy for applying conditions to MiqQueue
Merge pull request #1259 from tenderlove/default_scope

convert default_scope to use blocks
Merge pull request #1248 from tenderlove/preload_runner

extract preloader usage to a new method
Merge pull request #1263 from h-kataria/automate_domain_delete_fix

Fixed code to not allow deletion of locked domains.
Merge pull request #1258 from mkanoor/git_issue_1155

UI wasn't displaying error messages from import