Fix replication with a migration for databases upgraded from v4.

Fix configurations for included_tables and excluded_tables.
Fix triggers on for renamed tables.
Fix rr_pending_changes and rr_sync_states entries for renamed tables.
Fix rr_sync_states entries for removed tables

https://bugzilla.redhat.com/show_bug.cgi?id=1034987
Add support for OpenLDAP as implementation for authentication mechanism

OpenLDAP only returns memberof attribute for users when it's specifically requested
in the ldap query as it's considered an "operational attribute".
https://bugzilla.redhat.com/show_bug.cgi?id=1093739
Add Build::GitCheckout to convert the VERSION file to git references.

From the VERSION file, we can determine the branch or tag to we want to build from and then determine a consistent commit_sha for the build.
Use Build::GitCheckout to checkout the right branch and commit sha1.
Clients of this class should only need to read these variables.
Change appliance filename generation to include the git sha1.

Before:
manageiq-nightly-vsphere-201406242000.ova

After:
manageiq-vsphere-nightly-201406242000-50fcc563c8.ova
Externalize the git repository to make GitCheckout more generic.
Align whitespace.
When encrypting passwords, dont generate newlines
Fixed the request workflow when a pre-provisioning dialog is used

Several adjustments in the code were done to accommodate the
pre-provisioning dialog prior to the main provisioning dialog in the
request workflow.

https://bugzilla.redhat.com/show_bug.cgi?id=1108918
Make this script 1.8.7/1.9.3 compatible.

The current directory was removed from the Ruby load path in 1.9.
Checkout the branch of the tag, not the tag itself.

By convention, the VERSION file will contain a branch such as master or anand or a tag such as anand-1.

When the build.rb is run:
For master branch, we want to checkout master and reset to the sha1 of master.
For anand branch, we want to checkout anand and reset to the sha1 of anand.
For anand-1 tag, we want to checkout anand branch and reset to the commit that anand-1 references.
rake build:upload learned to upload VERSION file.

build.rb now depends on having the VERSION file locally via Build::GitCheckout.
Note: existing scripts expecting to run ruby ~/manageiq/build.rb need to be updated to use the new location: ruby ~/manageiq/build/build.rb
environment variable for coverage
 Support for copy and compare of ae components

 Allows for copy of class, instances and methods
 across domains.
Rename @branch_or_tag to ref and memoize on first use.
only allow root to connect to db as root

comment out unused rules instead of removing them
Merge pull request #92 from lfu/openldap

Add support for OpenLDAP as implementation for authentication mechanism.
Merge pull request #110 from kbrock/lockdown_postgres

only allow root to connect to db as root
remove bullet