GATE: Adaptive Learning with Working Memory by Information Gating in Multi-lamellar Hippocampal Formation