Refactoring and updates to the model to add in initial portion of
resource allocation code.
Initial work to switch to new model

Updates Serengeti model to correctly use extraInfo and vmEventData.

Additional work on model. Serengeti limit test passes (with the proviso
there is currently a timing issue from main vhm code)

Remove old model code, unused prior ModelClustMap and updated some
pacakge names for consistency.

Renaming of some model files to be more consistent with the Model
prefix.
Adds Rabbit and Hadoop adapters for full closed loop testing.
Updates Serengeti model to use the adapters.

Adds additional logging of rabbit return messages in the serengeti model

Basic post merge tidying up in model code. Minor alterations to visibility of constants in VcVlsi

Updates to use the consistency timestamp when waiting for config updates
from vCenter

Picks up Ben's removal of vmData._isMaster

Updates the pom to make the version 0.1-model so we don't get artifact
conflicts in the maven repo

Adds mechanism to dump cluster state after vhm stop in tests. This
required implementation of the stop/isStopped/start EventProducer methods
instead of the existing no-ops.
Adds a roll up mechanism for checking VM power state both with VC and in
the ClusterMap and updates tests to use it where that's the intent.

Adds an accessor method in cluster map to get all VMs for a cluster,
irrespective of power state.
Updates Serengeti to use waitForConfigurationChange guard mechanic and
adds more intelleigence in the test assert/wait behaviours

Adds support for a max latency that the Serengeti master will wait for
before taking an unprompted re-evaluation of the state of its jobs.
Guards for the possibility that a node has changed power state just prior
to trying to run a job on it
Adds hard power cycle test

Adds a utility method to get the compute nodes, enabled and disabled for a
cluster so that we can assert things about their state.
Makes templates final as they're tightly tied to the implementation in
question

Updates to use VC model raw metrics and add pauses based off the VC
metrics interval to ensure there's history to base our assertions off.

Altered job tracker policy so that VMs are powered on prior to being
enabled. This is not so important in the real world, although it will have
an effect once power on moves to something instantaneous like live clone.
Ensure that hosts are powered on prior to use
Adds rolling power on via target compute node num to make sure that jobs
are rolled out as nodes become available.

Adds the new getActiveTTs method into the Model hadoop adapter and
supporting code into Serengeti

Corrects some concurrency issues and exposes Master constructors for
tests to override

Quick and dirty pass at fault injection for enabling/disabling task
trackers
Restoring ModelClusterMap from master - Ben's compound status patch
references it so it's evidently still of some use.
Integrates Ben's patch for the compound status and propogating the details
of recommission/decommission failures up to the scale strategy for
handling.
Updates the corresponding model test to work with the specific semantics.
Restored call to enable before power on for consistency with current
master branch.
Expanded on the fault injection tests for node enable/disable.
Adds a thin version of ModelHadoopAdaptor which intercepts later in the
cycle. This restricts us in what we can pass back into VHM, but means we
exercise the regular HadoopAdaptor code, particularly its error handling
paths which were out of scope previously
Refactor code after George's comments
Removes ModelHadoopAdapter as refectoring just wasn't worth it at this
point. Once this commit is made to track that change, the thin adapter
will be renamed to take its place.

Conflicts:
	elastic-runtime2/src/main/java/com/vmware/vhadoop/vhm/BootstrapMain.java
	elastic-runtime2/src/main/java/com/vmware/vhadoop/vhm/hadoop/HadoopAdaptor.java
Rename thin hadoop adapter to take its place as the sole hadoop adapter
Updates model to provide an easy way of waiting for responses to commands.
Currently that's only setTargetComputeNodeNum but it may include others in
the future
Updated fault injection tests to wait for response using the provided
utility functions

Removes block of commented code that's no longer needed
Ignore the unknown error test until the formatting defect has been addressed
Updates compute node behaviour so that we enable on power on and disable on power off - perhaps we need active/inactive as well as enabled/disabled
Restores getHadoopConnection interception point after rebase.
Reverts serengeti so as not to enable compute nodes on power on as doing this has removed our ability to have any recommission failure other than power on failure.
remove unnecessary license files
Adds copyright statement

Conflicts:
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/AllocationPolicy.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Host.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Limits.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Orchestrator.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Resource.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/ResourceContainer.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/ResourceLimits.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/ResourcePool.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/ResourceUsage.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Usage.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/VM.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Workload.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/scenarios/BasicScenario.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/scenarios/ConstantWorkload.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/scenarios/ConstantWorkloadVM.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/scenarios/Serengeti.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/vhm/vc/ModelVcAdapter.java
Adds in model work that's been done in a separate branch

Merge branch 'model'

Conflicts:
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/AllocationPolicy.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Host.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Limits.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Orchestrator.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Resource.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/ResourceContainer.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/ResourceLimits.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/ResourcePool.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/ResourceUsage.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Usage.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/VM.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/Workload.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/scenarios/BasicScenario.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/scenarios/ConstantWorkload.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/scenarios/ConstantWorkloadVM.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/model/scenarios/Serengeti.java
	elastic-runtime2/src/test/java/com/vmware/vhadoop/vhm/vc/ModelVcAdapter.java