Add optional regexp validation to service dialogs

Text boxes now expose a drop-down for validator type and
a text field for validator rule. When 'Regular Expression'
is selected for the validator type, user input will be
matched against the provided validator rule. This is similar
to how Foreman validates user input for Smart Variables.

https://bugzilla.redhat.com/show_bug.cgi?id=1085158
Added missing power state images

https://bugzilla.redhat.com/show_bug.cgi?id=1113462
Change EmsFolder#hidden? to allow for overrides.

https://bugzilla.redhat.com/show_bug.cgi?id=1086015
Add Hash#sort! and Hash#sort_by! core extensions.

https://bugzilla.redhat.com/show_bug.cgi?id=1086015
Split out x_build_single_node from x_build_node.

https://bugzilla.redhat.com/show_bug.cgi?id=1086015
Bypass tree walking code with an upfront query for the vandt tree.

https://bugzilla.redhat.com/show_bug.cgi?id=1086015

This change improves performance via a pipeline of methods that
- Query the entire vandt tree using the Relationship model.
- Prune the tree as much as possible for unused parts
- Prune via RBAC and remove empty folders
- Sort the tree
- Preload records for what's left
- Convert the relationship tree to a UI tree structure for dynatree.

The spec against a real database has gone from 23.1s to 4.3s, which is
an 81% improvement.  Cumulative performance including ee267dc9, the spec
has gone from 33.2s to 4.3s, which is an 87% overall improvement.

Note that the performance is also consistent regardless of the depth of
the folder structure of the tree.
Added a check to add parent nodes only on trees other than vandt tree.

Added a check to add parent nodes based on @sb[:open_nodes] only when active tree is not vandt tree. VandT tree no longer needs to add parent nodes when clicking on a VM as we are building full tree on initial load so all parent nodes already exist in the tree.

https://bugzilla.redhat.com/show_bug.cgi?id=1086015
Change badges to use the nicer ones at shields.io
Merge pull request #137 from Fryguy/nicer_badges

Change badges to use the nicer ones at shields.io
Merge pull request #131 from Fryguy/fix_ui_vm_summary_3

Fix UI vm summary performance (part 3)
Merge pull request #135 from epwinchell/missing_powerstate_images

Added missing power state images
Adding support for /api/request_tasks collection

Updating the api.yml to add the request_tasks collection
that leverages the AR MiqRequestTask Model.
Merge pull request #141 from abellotti/rest_api_support_request_tasks

Adding support for /api/request_tasks collection
Merge pull request #14 from dillaman/bz1085158-service-dialog-regex-validation

Add optional regexp validation to service dialogs
Made changes to instance add/edit code to remove AR Objects from @edit

- Changed code to add/edit Instance to not store AR Objects in @edit instead store required fields into array of hashes. Made some minor cleanup along the way to methods edited in this commit.
- Changed view to use hashes to access data instead of AR Object.

https://bugzilla.redhat.com/show_bug.cgi?id=1114747
https://bugzilla.redhat.com/show_bug.cgi?id=1115652
Made suggested changes from PR review.

https://bugzilla.redhat.com/show_bug.cgi?id=1114747
https://bugzilla.redhat.com/show_bug.cgi?id=1115652