Compare serviceState string with .equals, not ==

Think this meant services' SERVICE_UP was never true. Guess it was missed
in the Groovy to Java conversion.
Move calls to deprecated Brooklyn methods to their replacements