Update dependency to dj ~> 4.0

Refactor query conditionals into clearer "scopes"
Adjust scopes slightly to better match logic in DJv4
Changes in scopes seem to fix edge cases broken by me previously

Trigger a record reload after we perform lock_exclusively
Merge pull request #13 from tpitale/dj-4

Update dependency to dj ~> 4.0