XD-575: use 'http post' as command name; Make it available all the time; Fix trigger destroy to only be available when connected;
XD-332: REST aggregate counter

* Refactoring of service and repository.
* REST controller taking from, to and resolution parameters.
Fix compilation errors
XD-560 Adhoc Jobs can now fire after plugin refactoring.
XD-560 polishing
XD-579 Adding support for multiple Hadoop distros in XD shell

Adding a startup option  --hadoopDistro for XD shell scripts.
The default is hadoop10 (Apache Hadoop 1.0.4). Based on the
default or passed in distro we will add the correct jars to the
classpath