Adds format ability to sunrise, sunset get methods

Makes sunrise and sunset get methods act like getTime method with optional format parameter.