On certain reduction problems concerning abelian surfaces Supersingular abelian varieties and curves, and their moduli spaces, with a remark on the dimension of the moduli of supersingular curves of genus 4 