AMBARI-4056. Add to service scripts some method to determine service state(started/stopped) (dlysnichenko)