CDAP-633 RunId of Currently Running Program 

Based on the discussion at
https://issues.cask.co/browse/CDAP-633

history endpoint is moved to /runs endpoint, with default call to runs will return all currently active and past runs of a program.

while /runs?status={completed/failed/active} can be used to filter the returned records.

This PR contains CLI command change and UI changes as well.
we need this part, because, by the time we add the listener and init method is executed, the state of the program could already be STOPPED/ERROR, in those cases, the stopped() and error() method won't be called. so we manually call these methods to perform the necessary cleanup.