Fix variable as integer for power cap
Fix variable as integer for power cap

The integer variable populating as dictionary data have a string char
{u'data': u'0'}
due to scalar conversion from set variable to dictionary data for POST
operation.

With the change
{u'data': 0}
the data remains as integer thus accepting this POST request to write
to power_cap

Resolves openbmc/openbmc-test-automation#141

Change-Id: I7d99023bc07b24781dcffd53d19e75007993f210
Signed-off-by: George Keishing <bef0a9ecac45fb57611777c8270153994e13fd2e@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation