fixes #3243 non-required/Slow SQL queries on host show page

(cherry picked from commit 577ecc29ab16e570a342faa456390d2f9253de25)
fixes #3212 - disable constraint checks for mysql databases during db:prod2dev

(cherry picked from commit 7e6244e4b15df85a058d30221a7fcdb3a631737d)
fixes #3269 - fact import rake task fails with arity error

(cherry picked from commit 956e2ed4b5f45a89786d4702d33680b66474f159)
fixes #3270 - load subnets for the domain associated with each NIC

(cherry picked from commit 2899ab7ed1c86193e3ebc764eb2ec88858c767f6)
fixes #2093 - list VMs in every VMware folder

(cherry picked from commit aba96a743f566eda5f81c451f52c040267a9cf04)

Conflicts:
	app/views/compute_resources_vms/index/_vmware.html.erb
fixes #3277 - host search link now quotes taxonomy name

(cherry picked from commit 8f6ad8a8b3ec2091195cfdcd8a1b7f865a6afd3f)
Fixes #3122: 'column reference id is ambiguous' no longer appears on dashboard and report screens

(cherry picked from commit 83b2874539b2b5469586a23b1edacbdf2a88d2ef)
fixes #3239 - pxelinux spoofing on postgres now works

(cherry picked from commit 9269ddca48e60746eacaf6e64e38364db3b330f2)
Fixes #3293 add FactoryGirl to tests

(cherry picked from commit 3035495f1aa94108c7d60610fa53ca6b43bbaa56)
fixes #2895 - apply updates to environments on puppet class import

(cherry picked from commit bb9d0a07f751203c216eb3e0d18b832d4b7a5da0)
fixes #3369 - pin rubyzip to < 1.0.0 for Ruby 1.8

(cherry picked from commit c05c7f3e26740e7ed2b947e0bab96558c4abd8f3)
fixes #3266 - ensures there are no duplicate notifications

(cherry picked from commit 93498295d89f5a66008c7989112ace8ffe7fdb11)
[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

(cherry picked from commit fb68fd22a05a5b949d9313db59168d69efb14ad8)

Conflicts:
	app/models/host/base.rb
refs #2967 fact deleted counters did not propagate correctly.

(cherry picked from commit f3f86a3a712224963ceff34613f86e11f07ecb66)
Fixes #3350 - Adds title on login page

(cherry picked from commit a20ca53bcb300b79643ccbee08efb6cbb1620e72)
fixes #3267 - API v1 compatibility for /api/hosts

(cherry picked from commit 2508c6b92ee21f5229126a15a4cefcfcaea0829d)
refs #2792 - Adding comments to pxe templates

(cherry picked from commit 061e34f25131647fe6af0654cdbd492eb64ad402)
fixes #3256 - include members in usergroup show

(cherry picked from commit af452a6fdf01582f2c904c10b3c84ffcfe3b93f9)
fixes #3486 - Make sure loading text is removed when chart data appears.

(cherry picked from commit 8cd09f95fc16138b1dc6adf7eb2bad10414b53a6)
fixes #3498 - update to Rails 3.2.15

(cherry picked from commit a53788d7d039ae505dccfef92c32467c0f7354f4)