Sounds to me more like a case of separation anxiety since it happens the most when she is left alone. Does she also actually eat the contents of the trash? If so, that may also explain the pooping on the floor. More food =more poop
I personally do not think that dogs are able to manifest emotions such as vengeance. Can you try to keep the trash off limits? Or better, can you crate her during your short abscenses? I own two 1 year old rotties and I still crate them when I leave outsides because I fear they may get in trouble. In the trash she may eat stuff that are not good for her and that can even cause an intestinal obstruction.
I also do not think that sleeping towards your feet rather than between you is because she is mad at you. Perhaps she finds the area near the feet to be more spacious and is not bothered by your turning around, don't really know, just my 2 cents...