factory security help!
As long as you checked your dimmer switch to make sure it isn't set to turn the interior lights on then I am 99% sure that is what it is.
Double check to make sure your doors are closing fully. The only way I'm aware of to check the door switches themselves is to take the door panel off, disconnect the switch from the harness (I believe there is a plug there someplace for you to do that) and then use a tester to see if the continuity changes when the door latch is open or closed (use a screwdriver end to push into the latch to latch it, open it back up with the door handle before you try and close the door though!)
Once you find the bad switch you'll need to buy a replacement and put it in. Not sure how it goes in there though since I've never had mine apart.
Usually opening and re-closing the hatch fixes the issue (try the doors too).
Otherwise, considering your other issues, its probably a door switch or hatch switch that failed.








