Had forgotten to save and restore heap index in some ECall cases.
(ping @edsko, @pchickey, @bradunov)

Fixes #18
Merge branch 'release' of github.com:dimitriv/Ziria into release