A framework for training Spiking Neural Networks using Evolutionary Algorithms and Deep Reinforcement Learning