Support INT and BIGINT foreignkeys

- Add SENTRY_USE_BIG_INTS (defaults to True on new installs)
- Add FlexibleForeignKey which correctly uses the related fields lookup type
- Clean up various migrations so they are correct based on assumed schema

Refs GH-1354