Check whether beam is started before running start_app
Check whether beam is started before running start_app

There is a mistake in OCF logic which tries
to start rabbitmq app without running beam
after Mnesia reset getting into the loop
which constantly fails until it times out

Change-Id: Id096961e206a083b51978fc5034f99d04715d7ea
Related-bug: #1436812

eayunstack/fuel-library,xarses/fuel-library,eayunstack/fuel-library,huntxu/fuel-library,eayunstack/fuel-library,stackforge/fuel-library,huntxu/fuel-library,ddepaoli3/fuel-library-dev,eayunstack/fuel-library,huntxu/fuel-library,eayunstack/fuel-library,ddepaoli3/fuel-library-dev,stackforge/fuel-library,ddepaoli3/fuel-library-dev,huntxu/fuel-library,xarses/fuel-library,ddepaoli3/fuel-library-dev,ddepaoli3/fuel-library-dev,stackforge/fuel-library,huntxu/fuel-library,xarses/fuel-library,stackforge/fuel-library,xarses/fuel-library