The Batalin-Vilkovisky Lagrangian Quantization scheme: with applications to the study of anomalies in gauge theories