Adapt rcdemo.py to Hive

In the article Calculating RC costs, there is a reference to rcdemo.py, as well as a README.md, that should be exported to a gist or hosted in the devportal so it can be adapted to Hive.