In connection with any petition for annulment under this chapter, the Superior Court may make such order regarding any child of the marriage and concerning alimony as it might make in an action for dissolution of marriage. The issue of any void or voidable marriage shall be deemed legitimate. Any child born before, on or after October 1, 1976, whose birth occurred prior to the marriage of his parents shall be deemed a child of the marriage.