crush: revise JSON format for 'item' type

Commit a7e9a7b648 changed the JSON format of CRUSH rules
such that the 'item' attribute on a step was sometimes
an integer and sometimes a string.

This commit separates the integer and string representations
so that tools which rely on a 'item' consistently being an
integer ID will work.

Signed-off-by: John Spray <john.spray@inktank.com>
Merge pull request #1373 from ceph/wip-crush-json

crush: revise JSON format for 'item' type

Reviewed-by: Sage Weil <sage@inktank.com>