In my jurisdiction, you don't need a permit if you're doing it yourself, and it's on your side of the panel.
So the plan I came up with is essentially the plan you have, but I connect my refrigerator to the battery by the panel rather than running an extension cord from my kitchen to the battery.
I disconnected the fridge and 2 other circuits from the panel, and terminated them with a nema 5-15p inlet receptacle like this: http://www.levitonproducts.com/catalog/model_5278-CWP.htm
I then put 4 solar panels on a 45 degree angle on the ground leaning against a south facing wall, anchored to the wall and ground.
The "solar generator" I used is this one: https://www.indiegogo.com/projects/apex-300#/
It's similar to the glamping batteries you refer to, but is more targeted to home backup / off-grid / RV use than glamping.