Late goals from substitutes Paddy Lane and Matt Ritchie handed Reading a dramatic 2-1 League One comeback victory over fellow play-off hopefuls Bradford.