Weak gravitational flexion in various spacetimes: Exotic lenses and modified gravity