Twisted Backgrounds, PP-Waves and Nonlocal Field Theories