Limit theorems for difference equations in random media with applications to biological systems