Various topics in stochastic control and measure theory: singular stochastic control, optimal stopping and decompositions of measures