Bug #1521: LVM transfer driver remove persistent LV when onevm shutdown

The code in this commit is based on Milos Kozak's patch
feature #1741: escape spaces instead of deleting them in x509 auth
feature #1741: test every dn in x509 authentication

This patch was provided by Boris Parak <256254@mail.muni.cz> in
http://dev.opennebula.org/issues/1741

Minor cosmetic changes
Bug #1521: Clone LVM instead of doing snapshot
Merge branch 'bug-1521'
bug #1777: case for unknown EC2 SignatureVersion

Patch provided by Piotr Sawicki <p.sawicki@task.gda.pl>
(cherry picked from commit 0f6915e0f8de5bbdc33eb95e433da2fd9978474e)
feature #1741: escape dn in X509CloudAuth.rb
feature #1741: add method each_with_xpath to object pools
feature #1741: filter possible user matches using xpath
feature #1772:Resize VM capacity (cpu, memory and vcpu) offline
feature #1722: Fix float parameter get
feature #1722: Use the right units for host update. Fix enforce in onevm command
feature #1722: 0 means keep current size for any attribute
feature #1164: add aliases ended in ! for info methods
Feature #1772: Minor edits
Feature #1772: Fix bug in RM, update VM owner/group quotas, not the caller's quotas.

Also take into account that we can delete users/groups and have orphan VMs
Feature #1772: Resize capacity enforce is mandatory for everyone, except for oneadmin
Feature #1772: Save updated quotas to the DB
Feature #1772: Additional sanity checks for new capacity.

Even if it was not updated, VCPU was inserted with value "0",
causing the next deployment to fail
Feature #1772: Add vm resize method to Java OCA