Effects of Non-locality in Gravity and Quantum Theory