PhdThesis 2014-2019 Submitted 11 Feburary 2019 Defended 09 September 2019 Completed at: Center of Astrophysics University of Porto, Porto, Portugal