Fix: cloud driver name
fix Amazon instead of amazon
typos
URGENT: Bug fix essential for use
Merge pull request #75 from sposs/patch-5

URGENT: Bug fix essential for use
Please FIX !
In case of forbidden transition, recover

Make sure the current status is returned in case of forbidden state
transition: allows the machine to still halt if it needs to.
A gConfig.getValue, the way used here cannot not be defined.

If a value is set to 0 on purpose, then the removed code makes the agent
fail.
Fix Status-> State
Fix insertRunningPod

When starting with a fresh install, the DBs are emtpy, so the way the
code was trying to update couldn't work.
Because of lower case, Amazon must remain amazon
default value for the load MUST be float
Always pass the avgLoad to the Halting
Do a State mapping with what is expected in the
VirtualMachineMonitorAgent
Handle the case the state transition is forbidden (Halted to anything)

Allows the instance to be terminated, whatever the state it tries to
report from.
cloudDriver MUST be lower case at it comes from the MonitorAgent that
uses lower case.
add value check if it's a number
Better type checking
Separate numbers and strings
Merge pull request #71 from sposs/patch-4

Bugfix: RunningPod is a part of the Instance dict