fix for CLOUDSTACK-481

Signed-off-by: radhikap <radhika.puthiyetath@citrix.com>
CLOUDSTACK-605: Host physical CPU is incorrectly calculated for Vmware hosts Fixed logic to compute Vmware host cpu

Signed-off-by: Koushik Das <koushik.das@citrix.com>
CLOUDSTACK-685: Fixed network usage. Send network usage command for isolated guest nic of non VPC VR. Send network usage command for public nic in VPC VR.
CLOUDSTACK-683: Fixed missing image in Accessing VM Section
CLOUDSTACK-961: Added dependencies for building RPMs.
Remove docs/tmp (partial revert)

In commit 92d4b2143f0e3f144106054f3f2446fbba28add4 docs/tmp
got committed.

This directory should never be committed, probably a simple
mistake.
CLOUDSTACK-995: fix failed to detect centos 6.2
CLOUDSTACK-938: Add missing checkbatchs2svpn.sh
Summary: Fix bridge parsing when bridge names are subsets of others

Detail: There are several places in the code that do a
"brctl show | grep bridgeName" or similar, which causes all sorts
of problems when you have for example a cloudVirBr50 and a
cloudVirBr5000. This patch attempts to stop relying on the output
of brctl, instead favoring sysfs and /sys/devices/virtual/net.
It cuts a lot of bash out altogether by using java File. It was
tested in my devcloud-kvm against current 4.0, as well as by the
customer reporting initial bug.

BUG-ID: CLOUDSTACK-938
Fix-For: 4.0.1
Signed-off-by: Marcus Sorensen <marcus@betterservers.com>
Updated CHANGES file in preparation for getting 4.0.1-incubating out the door.
CLOUDSTACK-505: Reworked approach to cleaning request / response strings

As noted in the bug, several of the API command in question
are async calls.  I've added a simple regex-based string cleaning
function, and have the request and response strings running through
it prior to being appended to the audit log.

Unit tests added for the new cleaning function as well.

The call to skip logging the createSSHKeyPair response remains intact
for now, although it should probably be scrubbed similarly to the
password fields.

Signed-off-by: Chip Childers <chip.childers@gmail.com>

Conflicts:
	utils/src/com/cloud/utils/StringUtils.java
CLOUDSTACK-505: Added string cleaning to the start and end debug
log statements within the API servlet.

Conflicts:
	server/src/com/cloud/api/ApiServlet.java
CLOUDSTACK-505: Converted regex expressions to pre-compiled Pattern objects

This was done for performance reasons.

I also refined the regex strings and added more test cases for different
string scenarios.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
A few minor edits to the CHANGES file