CLOUDSTACK-3652: Increase maximum connections of sshd server to 1000

In order to meet parallel deployment's requirement.
Moved the SprintUtils which is for testing only to be in test directory.  Changed pom.xml for different projects to use the utils test-jar.  Removed some @Component annotations.  Moved majority of the dependencies from cloudstack pom to utils pom
Fixed ostype CLOUDSTACK-3645

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Fixed build.  Not sure why it didn't come up on my compile before the commit
CLOUDSTACK-3358: create template from a volume/snapshot should also take input from User/Admin whether xstools / vmware tools installed in the VM
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
CLOUDSTACK-3648: 3.0.6 to ASF 4.2 Upgrade: "hypervisor_capabilites" table has duplicate VMware 5.1 entries on the Upgraded Setup
Added a unique constraint on "hypervisor_capabilities" table based on hypervisor type and version
CLOUDSTACK-3661: Fix for IndexOutOfBoundException in connect process to SSVM.
CLOUDSTACK-3601: Adding router.template.xen/vmware/kvm/lxc/hyperv parameters in upgrade setup

Signed-off-by: Jayapal <jayapal@apache.org>
CLOUDSTACK-2057: minor correction
CLOUDSTACK-2510: Getting NPE while executinng listStoragePools API command.
CLOUDSTACK-3492: [Regression]Update Resource Count for an account is updating the primary storage incorretly.

The issue is that while calculating the used primary storage size, the updateResourceCount
API is also calculating the disk size of virtual router VM, created for that account and
because of this, the API is returning the incorrect result.
CLOUDSTACK-3496: [Regression]Primary Storage resource usage is not getting updated if detached volume is deleted
CLOUDSTACK-3655: RvR fails with unexpected state

The guestcidr is no longer specified directly. Use the netmask and
gateway combination to create custom cidr network

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a4d902fc9b48e963d5987965207e3745e1728741)
CLOUDSTACK-3655: RvR tests fail when handling switchover

During switchover of master->backup->master, the rvr goes through
UNKNOWN, FAULT, MASTER/BACKUP. In case of improper transition the state
is FAULT. Include additional state check in the tests.
(cherry picked from commit 0c699394f246bc2b052a22d88b3f938ba8a72770)
CLOUDSTACK-3452: Created security group for basic mode to allow SSH to vm

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9c24c471bca83241a9ebf586567c0fd61231da19)
CLOUDSTACK-3644: Failed to pass apiclient to public ip delete

Test VPC Release IP assigned to LB rule fails because we don't pass in
the apiclient to it.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2f0a0a61363074ffa959d7ff9596a1b07b2de40a)
CLOUDSTACK-3642: [Usage][PortableIP] CS is not generating usage events
for portable IPs

generating usage events for acquire/release of portable IP
CLOUDSTACK-3640: [Usage][GSLB] usage events are not generated for GSLB

geneating usage events for create/delete of GSLB rule
CLOUDSTACK-3628: [Storage]Migration of data disk from Shared primary to shared/local primary storage is throwing NPE
'Long' value was getting passed to a parameter of type 'long' and in case of null was resulting in NPE
CLOUDSTACK-2053: Fixed userdata.sh redundancy and cloud-init support