An Integrated Computational Framework for Attention, Reinforcement Learning, and Working Memory