Let's start with cell reset, since that is the easiest. Via console, or in a script, you just need to use the command
resetinterior cellIDgoeshere for an interior cell. For exterior cells, a
resetworld function exists, but remains undocumented and is prone to crash the game when used in anyway, so your best bet then is to just have the player wait indoors for a natural reset.
For containers, they will respawn when their cells reset. If you need to force-respawn one separately from the cell it's in, you'll want to http://cs.elderscrolls.com/constwiki/index.php/Scripting_Tutorial:_My_First_Script to http://cs.elderscrolls.com/constwiki/index.php/RemoveAllItems from the container, and then http://cs.elderscrolls.com/constwiki/index.php/AddItem each thing that you want in the container again manually.
Happy learning!