Added simulate to API

This change enables the Runtime.simulate() functionality
to be accessed via the API.

Change-Id: Iee80cf58050ad709f90dad9433c75e3377bec9df