Fix the cell API with string rpc_port failed

When cell create/update accept rpc_port as string, it will
return 500. This patch add code to covert the string as integer.

Change-Id: I8ace46731ac02f810b978c54843b6e137c9882be
Closes-Bug: #1389933
Merge "Fix the cell API with string rpc_port failed"